From e2c0c8687cfffe5096df7c907c4609cf1b026443 Mon Sep 17 00:00:00 2001 From: NSUWAL123 Date: Wed, 30 Oct 2024 14:15:15 +0545 Subject: [PATCH] fix(projectSubmissions: empty dependency add on api call) --- src/frontend/src/views/ProjectSubmissions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/views/ProjectSubmissions.tsx b/src/frontend/src/views/ProjectSubmissions.tsx index 28fddb40c..172bb9489 100644 --- a/src/frontend/src/views/ProjectSubmissions.tsx +++ b/src/frontend/src/views/ProjectSubmissions.tsx @@ -55,7 +55,7 @@ const ProjectSubmissions = () => { dispatch( MappedVsValidatedTaskService(`${import.meta.env.VITE_API_URL}/tasks/activity/?project_id=${projectId}&days=30`), ); - }); + }, []); useEffect(() => { if (!searchParams.get('tab')) {