From 82ff786666e81bf1db11fe8056036e411c7791f2 Mon Sep 17 00:00:00 2001 From: Khrystyna Derenivska <56432889+kblueberry@users.noreply.github.com> Date: Wed, 12 Jul 2023 09:09:40 +0300 Subject: [PATCH] Closing of dialog when we click around the dialog (#1364) --- apps/app/components/issues/modal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app/components/issues/modal.tsx b/apps/app/components/issues/modal.tsx index c3998fbdf..b0b0a8e20 100644 --- a/apps/app/components/issues/modal.tsx +++ b/apps/app/components/issues/modal.tsx @@ -188,7 +188,7 @@ export const CreateUpdateIssueModal: React.FC = ({ payload, user ) - .then((res) => { + .then(() => { setToastAlert({ type: "success", title: "Success!", @@ -323,7 +323,7 @@ export const CreateUpdateIssueModal: React.FC = ({ return ( - {}}> + handleClose()}>