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'
23
23
import { RefreshButton } from '~/components/RefreshButton'
24
24
import { RouteTabs , Tab } from '~/components/RouteTabs'
25
25
import { InstanceStatusBadge } from '~/components/StatusBadge'
26
- import { getInstanceSelector , useInstanceSelector , useQuickActions } from '~/hooks'
26
+ import { getInstanceSelector , useInstanceSelector } from '~/hooks'
27
27
import { EmptyCell } from '~/table/cells/EmptyCell'
28
28
import { DateTime } from '~/ui/lib/DateTime'
29
29
import { PageHeader , PageTitle } from '~/ui/lib/PageHeader'
@@ -128,18 +128,6 @@ export function InstancePage() {
128
128
] ,
129
129
[ instance , makeActions ]
130
130
)
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 )
143
131
144
132
const memory = filesize ( instance . memory , { output : 'object' , base : 2 } )
145
133
You can’t perform that action at this time.
0 commit comments