mirror of
https://github.com/makeplane/plane.git
synced 2026-02-11 00:29:39 -06:00
fix: work item peek infinite loop (#7284)
* fix: removed t function from dependency array which was causing infinite loop * fix: add eslint disable comment for exhaustive-deps warning in IssuePeekOverview
This commit is contained in:
@@ -331,7 +331,8 @@ export const IssuePeekOverview: FC<IWorkItemPeekOverview> = observer((props) =>
|
||||
}
|
||||
},
|
||||
}),
|
||||
[fetchIssue, is_draft, issues, fetchActivities, captureIssueEvent, pathname, removeRoutePeekId, restoreIssue, t]
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
[fetchIssue, is_draft, issues, fetchActivities, captureIssueEvent, pathname, removeRoutePeekId, restoreIssue]
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user