File tree Expand file tree Collapse file tree 2 files changed +3
-87
lines changed
packages/frontend/src/components/FlowRow Expand file tree Collapse file tree 2 files changed +3
-87
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,11 @@ import {
2323 useToast ,
2424} from '@opengovsg/design-system-react'
2525
26+ import MenuAlertDialog , { AlertDialogType } from '@/components/MenuAlertDialog'
2627import * as URLS from '@/config/urls'
2728import { DELETE_FLOW } from '@/graphql/mutations/delete-flow'
2829import { DUPLICATE_FLOW } from '@/graphql/mutations/duplicate-flow'
2930
30- import MenuAlertDialog , { AlertDialogType } from './MenuAlertDialog'
31-
3231interface FlowContextMenuProps {
3332 flow : IFlow
3433}
@@ -184,7 +183,8 @@ export default function FlowContextMenu(props: FlowContextMenuProps) {
184183 isDialogOpen = { isDialogOpen }
185184 cancelRef = { cancelRef }
186185 onDialogClose = { onDialogClose }
187- type = { dialogType }
186+ dialogHeader = "Pipe"
187+ dialogType = { dialogType }
188188 onClick = { dialogType === 'delete' ? onFlowDelete : onFlowDuplicate }
189189 isLoading = { dialogType === 'delete' ? isDeletingFlow : isDuplicatingFlow }
190190 />
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments