fix: lint issues

This commit is contained in:
Sabiha Khan 2025-11-06 20:44:16 +05:30
parent 8d05c9f890
commit 968dc05bf1
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -65,7 +65,7 @@ export default function WorkflowDetailPage() {
const stickyTabs = workflow ? <WorkflowTabs workflowId={workflow.id} currentTab={currentTab} /> : 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) {