File tree Expand file tree Collapse file tree
packages/app/src/pages/layout Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ export const SortableProject = (props: {
295295 const [ data ] = globalSync . child ( directory , { bootstrap : false } )
296296 return childMapByParent ( data . session )
297297 }
298- const trigger = (
298+ const tile = ( ) => (
299299 < ProjectTile
300300 project = { props . project }
301301 mobile = { props . mobile }
@@ -321,14 +321,14 @@ export const SortableProject = (props: {
321321 return (
322322 // @ts -ignore
323323 < div use :sortable classList = { { "opacity-30" : sortable . isActiveDraggable } } >
324- < Show when = { preview ( ) } fallback = { trigger } >
324+ < Show when = { preview ( ) } fallback = { tile ( ) } >
325325 < HoverCard
326326 open = { open ( ) && ! menu ( ) }
327327 openDelay = { 0 }
328328 closeDelay = { 0 }
329329 placement = "right-start"
330330 gutter = { 6 }
331- trigger = { trigger }
331+ trigger = { tile ( ) }
332332 onOpenChange = { ( value ) => {
333333 if ( menu ( ) ) return
334334 setOpen ( value )
You can’t perform that action at this time.
0 commit comments