Skip to content

Commit 8cef203

Browse files
Poc : avoid ui freeze on page unmount
1 parent c7654ae commit 8cef203

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/components/dashboard/ProjectSearchController.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function ProjectsSearchController() {
5252
}, 600);
5353

5454
return () => clearTimeout(t);
55-
}, [input]);
55+
}, [input, setData, setLoading, setProjectsNotFound, getProjects]);
5656
return (
5757
<div className="relative">
5858
<MagnifyingGlassIcon className="absolute left-3 top-1/2 -translate-y-1/2 size-5 text-gray-400" />

0 commit comments

Comments
 (0)