From 968dc05bf17d52fe7d193797ab5720eb10cc61b6 Mon Sep 17 00:00:00 2001 From: Sabiha Khan Date: Thu, 6 Nov 2025 20:44:16 +0530 Subject: [PATCH] fix: lint issues --- .../app/workflow/[workflowId]/components/WorkflowExecutions.tsx | 2 +- ui/src/app/workflow/[workflowId]/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/app/workflow/[workflowId]/components/WorkflowExecutions.tsx b/ui/src/app/workflow/[workflowId]/components/WorkflowExecutions.tsx index ff21926..e7fa6ed 100644 --- a/ui/src/app/workflow/[workflowId]/components/WorkflowExecutions.tsx +++ b/ui/src/app/workflow/[workflowId]/components/WorkflowExecutions.tsx @@ -88,7 +88,7 @@ export function WorkflowExecutions({ workflowId, searchParams }: WorkflowExecuti }; loadDispositionCodes(); - }, [workflowId, accessToken]); + }, [workflowId, accessToken, configuredAttributes]); const fetchWorkflowRuns = useCallback(async (page: number, filters?: ActiveFilter[]) => { if (!accessToken) return; diff --git a/ui/src/app/workflow/[workflowId]/page.tsx b/ui/src/app/workflow/[workflowId]/page.tsx index 3f24ca3..f436da5 100644 --- a/ui/src/app/workflow/[workflowId]/page.tsx +++ b/ui/src/app/workflow/[workflowId]/page.tsx @@ -65,7 +65,7 @@ export default function WorkflowDetailPage() { const stickyTabs = workflow ? : null; // Memoize user and getAccessToken to prevent unnecessary re-renders - const stableUser = useMemo(() => user, [user?.id]); + const stableUser = useMemo(() => user, [user]); const stableGetAccessToken = useMemo(() => getAccessToken, [getAccessToken]); if (loading) {