File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
app/pages/project/instances/instance Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import { MoreActionsMenu } from '~/components/MoreActionsMenu'
2323import { RefreshButton } from '~/components/RefreshButton'
2424import { RouteTabs , Tab } from '~/components/RouteTabs'
2525import { InstanceStatusBadge } from '~/components/StatusBadge'
26- import { getInstanceSelector , useInstanceSelector , useQuickActions } from '~/hooks'
26+ import { getInstanceSelector , useInstanceSelector } from '~/hooks'
2727import { EmptyCell } from '~/table/cells/EmptyCell'
2828import { DateTime } from '~/ui/lib/DateTime'
2929import { PageHeader , PageTitle } from '~/ui/lib/PageHeader'
@@ -128,18 +128,6 @@ export function InstancePage() {
128128 ] ,
129129 [ instance , makeActions ]
130130 )
131- const quickActions = useMemo (
132- ( ) =>
133- actions
134- // in the quick menu we do not show disabled actions
135- . filter ( ( a ) => ! a . disabled )
136- // append "instance" to labels
137- // TODO: if these were in an "Instance actions" subsection they might not
138- // need the suffix for clarity
139- . map ( ( a ) => ( { onSelect : a . onActivate , value : a . label } ) ) ,
140- [ actions ]
141- )
142- useQuickActions ( quickActions )
143131
144132 const memory = filesize ( instance . memory , { output : 'object' , base : 2 } )
145133
You can’t perform that action at this time.
0 commit comments