fix: close issue dialog on success

This commit is contained in:
thecodrr
2022-01-17 14:07:16 +05:00
parent 6e344fbdac
commit 07be834910

View File

@@ -79,6 +79,8 @@ function IssueDialog(props) {
body: requestData.body,
userId: userstore.get().user?.id,
});
props.onClose();
await showIssueReportedDialog({ url });
} catch (e) {
setError(e.message);