diff --git a/client/pages/Community.tsx b/client/pages/Community.tsx index f53fcd9b..63a6fb54 100644 --- a/client/pages/Community.tsx +++ b/client/pages/Community.tsx @@ -1296,7 +1296,7 @@ export default function Community() { if (!isValidTab(candidateTab)) { navigate(`/community/${defaultTab}`, { replace: true }); } - }, [candidateTab, defaultTab, navigate]); + }, [candidateTab, defaultTab]); const handleTabChange = (value: string) => { const nextTab = isValidTab(value) ? value : defaultTab;