diff --git a/web/components/issues/issue-peek-overview/issue-detail.tsx b/web/components/issues/issue-peek-overview/issue-detail.tsx index 084fde367..69b33ec1c 100644 --- a/web/components/issues/issue-peek-overview/issue-detail.tsx +++ b/web/components/issues/issue-peek-overview/issue-detail.tsx @@ -42,8 +42,8 @@ export const PeekOverviewIssueDetails: FC = (props) = const [characterLimit, setCharacterLimit] = useState(false); // hooks - const editorSuggestions = useEditorSuggestions(); const { setShowAlert } = useReloadConfirmations(); + const editorSuggestions = useEditorSuggestions(); const { handleSubmit, diff --git a/web/store/issues/project-issues/project/issue.store.ts b/web/store/issues/project-issues/project/issue.store.ts index a87e3c1d0..55b0ae7fb 100644 --- a/web/store/issues/project-issues/project/issue.store.ts +++ b/web/store/issues/project-issues/project/issue.store.ts @@ -85,8 +85,8 @@ export class ProjectIssuesStore extends IssueBaseStore implements IProjectIssues }); } - setIsSubmitting = (value: "submitting" | "submitted" | "saved") => { - this.isSubmitting = value; + setIsSubmitting = (status: TIssueUpdateStatus) => { + this.isSubmitting = status; }; get getIssues() {