From 6dc6329ac2ded01d633efe2ed8397b03491c264a Mon Sep 17 00:00:00 2001 From: Florian Boulnois Date: Thu, 16 Nov 2023 10:57:48 -0500 Subject: [PATCH] fix: only run init once on mount --- src/pages/DatasetSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/DatasetSearch.js b/src/pages/DatasetSearch.js index 12e45e07b..1eef0e2e6 100644 --- a/src/pages/DatasetSearch.js +++ b/src/pages/DatasetSearch.js @@ -184,7 +184,7 @@ export const DatasetSearch = (props) => { } }; init(); - }); + }, []); return ( loading ?