From 9dabb5ff38b842d0b2892309bfb5e59ade08e6dd Mon Sep 17 00:00:00 2001 From: Kevin Burton Date: Tue, 10 Dec 2024 14:56:05 -0800 Subject: [PATCH] ... --- .../views/components/NewThreadFormModern/NewThreadForm.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/commonwealth/client/scripts/views/components/NewThreadFormModern/NewThreadForm.tsx b/packages/commonwealth/client/scripts/views/components/NewThreadFormModern/NewThreadForm.tsx index 9e9ccb9175e..7e75f6e8246 100644 --- a/packages/commonwealth/client/scripts/views/components/NewThreadFormModern/NewThreadForm.tsx +++ b/packages/commonwealth/client/scripts/views/components/NewThreadFormModern/NewThreadForm.tsx @@ -40,6 +40,7 @@ import { checkNewThreadErrors, useNewThreadForm } from './helpers'; const MIN_ETH_FOR_CONTEST_THREAD = 0.0; export const NewThreadForm = () => { + // eslint-disable-next-line @typescript-eslint/no-unused-vars const navigate = useCommonNavigate(); const location = useLocation(); @@ -71,6 +72,7 @@ export const NewThreadForm = () => { setEditorText, setIsSaving, isDisabled, + // eslint-disable-next-line @typescript-eslint/no-unused-vars clearDraft, canShowGatingBanner, setCanShowGatingBanner, @@ -82,6 +84,7 @@ export const NewThreadForm = () => { threadTopic?.active_contest_managers?.length ?? 0 > 0; const user = useUserStore(); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const { checkForSessionKeyRevalidationErrors } = useAuthModalStore(); const contestTopicError = threadTopic?.active_contest_managers?.length @@ -112,6 +115,7 @@ export const NewThreadForm = () => { const isAdmin = Permissions.isSiteAdmin() || Permissions.isCommunityAdmin(); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const { mutateAsync: createThread } = useCreateThreadMutation({ communityId, });