From 93e2c912b50e5a8a5dc4048568cafdfed606e93e Mon Sep 17 00:00:00 2001 From: Nidboj132 <28981031+Nidboj132@users.noreply.github.com> Date: Fri, 22 Sep 2023 22:56:11 +0200 Subject: feat: map search (#78) Former-commit-id: 660e8bfcde4b850abb3820e209af3def2353fd51 --- frontend/src/components/pages/summary.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontend/src/components/pages/summary.js') diff --git a/frontend/src/components/pages/summary.js b/frontend/src/components/pages/summary.js index 4758c8e..c03d7b9 100644 --- a/frontend/src/components/pages/summary.js +++ b/frontend/src/components/pages/summary.js @@ -28,7 +28,7 @@ const fakedata={} //for debug if(d.data.summary.routes.length===0){d.data.summary.routes[0]={"category": "","history": {"score_count": 0,},"rating": 0,"description": "","showcase": ""}} }) // eslint-disable-next-line - }, []); + }, [location.pathname]); const [pageNumber, setPageNumber] = React.useState(1); const [lbData, setLbData] = React.useState(null); @@ -438,7 +438,6 @@ return ( )} - {console.log(lbData)} ))} -- cgit v1.2.3