diff --git a/web/components/issues/issue-modal/modal.tsx b/web/components/issues/issue-modal/modal.tsx index a3171bd88..04970028b 100644 --- a/web/components/issues/issue-modal/modal.tsx +++ b/web/components/issues/issue-modal/modal.tsx @@ -170,11 +170,9 @@ export const CreateUpdateIssueModal: React.FC = observer((prop path: router.asPath, }); !createMore && handleClose(); - if (createMore) { - issueTitleRef && issueTitleRef?.current?.focus(); - setDescription("

"); - setChangesMade(null); - } + if (createMore) issueTitleRef && issueTitleRef?.current?.focus(); + setDescription("

"); + setChangesMade(null); return response; } catch (error) { setToast({