From 2f6923fca081857e0d1b2a248acf43ed38bb8bb0 Mon Sep 17 00:00:00 2001 From: Jayash Tripathy <76092296+JayashTripathy@users.noreply.github.com> Date: Mon, 30 Jun 2025 16:10:50 +0530 Subject: [PATCH] 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 --- web/core/components/issues/peek-overview/root.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/core/components/issues/peek-overview/root.tsx b/web/core/components/issues/peek-overview/root.tsx index e7a8239028..dfeedadce9 100644 --- a/web/core/components/issues/peek-overview/root.tsx +++ b/web/core/components/issues/peek-overview/root.tsx @@ -331,7 +331,8 @@ export const IssuePeekOverview: FC = 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(() => {