diff --git a/packages/twenty-front/src/modules/settings/profile/components/DeleteWorkspace.tsx b/packages/twenty-front/src/modules/settings/profile/components/DeleteWorkspace.tsx index f63782fa35e5..190bd601667f 100644 --- a/packages/twenty-front/src/modules/settings/profile/components/DeleteWorkspace.tsx +++ b/packages/twenty-front/src/modules/settings/profile/components/DeleteWorkspace.tsx @@ -1,15 +1,12 @@ import { useState } from 'react'; import { useRecoilValue } from 'recoil'; -import { H2Title } from 'twenty-ui'; +import { H2Title, IconTrash } from 'twenty-ui'; import { useAuth } from '@/auth/hooks/useAuth'; import { currentUserState } from '@/auth/states/currentUserState'; -import { - ConfirmationModal, - StyledConfirmationButton, -} from '@/ui/layout/modal/components/ConfirmationModal'; +import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal'; import { useDeleteCurrentWorkspaceMutation } from '~/generated/graphql'; - +import { Button } from '@/ui/input/button/components/Button'; export const DeleteWorkspace = () => { const [isDeleteWorkSpaceModalOpen, setIsDeleteWorkSpaceModalOpen] = useState(false); @@ -28,10 +25,12 @@ export const DeleteWorkspace = () => { return ( <> - setIsDeleteWorkSpaceModalOpen(true)} +