From 50da1684e3f2ed00d4b8bf6658ca62ee0d8a4dd1 Mon Sep 17 00:00:00 2001 From: Jeroen Branje Date: Mon, 11 Mar 2024 10:22:54 +0100 Subject: [PATCH] refactor(envited.ascs.digital): Fix showDialog default state Signed-off-by: Jeroen Branje --- apps/envited.ascs.digital/modules/Users/UsersDialogConfirm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/envited.ascs.digital/modules/Users/UsersDialogConfirm.tsx b/apps/envited.ascs.digital/modules/Users/UsersDialogConfirm.tsx index f0ebb505..8159c555 100644 --- a/apps/envited.ascs.digital/modules/Users/UsersDialogConfirm.tsx +++ b/apps/envited.ascs.digital/modules/Users/UsersDialogConfirm.tsx @@ -15,7 +15,7 @@ interface DialogConfirmProps { export const UserDialogConfirm: FC = ({ id }) => { const { t } = useTranslation('Users') const { error, success } = useNotification() - const [showDialog, setShowDialog] = useState(true) + const [showDialog, setShowDialog] = useState(false) const deleteUserWithId = (id: string) => async () => { try {