diff --git a/frontend/src/features/admin-form/create/workflow/components/WorkflowContent/InactiveStepBlock/InactiveStepBlock.tsx b/frontend/src/features/admin-form/create/workflow/components/WorkflowContent/InactiveStepBlock/InactiveStepBlock.tsx index 3b90669f04..d51c7e314c 100644 --- a/frontend/src/features/admin-form/create/workflow/components/WorkflowContent/InactiveStepBlock/InactiveStepBlock.tsx +++ b/frontend/src/features/admin-form/create/workflow/components/WorkflowContent/InactiveStepBlock/InactiveStepBlock.tsx @@ -1,5 +1,5 @@ import { useCallback, useMemo } from 'react' -import { BiTrash } from 'react-icons/bi' +import { BiPencil } from 'react-icons/bi' import { Box, chakra, Flex, Stack, Text } from '@chakra-ui/react' import { Dictionary } from 'lodash' @@ -61,7 +61,6 @@ const SubsequentStepRespondentBadges = ({ export const InactiveStepBlock = ({ stepNumber, step, - handleOpenDeleteModal, }: InactiveStepBlockProps): JSX.Element | null => { const { idToFieldMap } = useAdminFormWorkflow() const setToEditing = useAdminWorkflowStore(setToEditingSelector) @@ -190,16 +189,16 @@ export const InactiveStepBlock = ({ ) : null} - {!isFirstStep && ( + {( } + colorScheme="secondary" + onClick={handleClick} + icon={} /> )}