fix: inbox dependency array fix (#5159)

This commit is contained in:
Akshita Goyal
2024-07-18 16:00:16 +05:30
committed by GitHub
parent 78dd15a801
commit a8c1b8cdef

View File

@@ -69,7 +69,7 @@ export const InboxSidebar: FC<IInboxSidebarProps> = observer((props) => {
router.push(
`/${workspaceSlug}/projects/${projectId}/inbox?currentTab=${currentTab}&inboxIssueId=${filteredInboxIssueIds[0]}`
);
}, [filteredInboxIssueIds, currentTab, workspaceSlug, projectId, router, inboxIssueId]);
}, []);
return (
<div className="bg-custom-background-100 flex-shrink-0 w-full h-full border-r border-custom-border-300 ">