From a8c1b8cdefe069f088052f7962ba680871ee40e7 Mon Sep 17 00:00:00 2001 From: Akshita Goyal <36129505+gakshita@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:00:16 +0530 Subject: [PATCH] fix: inbox dependency array fix (#5159) --- web/core/components/inbox/sidebar/root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/components/inbox/sidebar/root.tsx b/web/core/components/inbox/sidebar/root.tsx index 069fe9364..2ee855243 100644 --- a/web/core/components/inbox/sidebar/root.tsx +++ b/web/core/components/inbox/sidebar/root.tsx @@ -69,7 +69,7 @@ export const InboxSidebar: FC = observer((props) => { router.push( `/${workspaceSlug}/projects/${projectId}/inbox?currentTab=${currentTab}&inboxIssueId=${filteredInboxIssueIds[0]}` ); - }, [filteredInboxIssueIds, currentTab, workspaceSlug, projectId, router, inboxIssueId]); + }, []); return (