From 95047c5f1018c84ef7f8aeb2a74335f725d3dfb9 Mon Sep 17 00:00:00 2001 From: developomp Date: Tue, 21 Dec 2021 14:09:00 +0900 Subject: [PATCH] prevent multiple parsing (not yet fully resolved) --- source/src/pages/Search/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/pages/Search/index.tsx b/source/src/pages/Search/index.tsx index d5d1781..629b9c6 100644 --- a/source/src/pages/Search/index.tsx +++ b/source/src/pages/Search/index.tsx @@ -143,6 +143,8 @@ const Search = () => { // update URL when data changes useEffect(() => { + if (!initialized) return + let date_from let date_to