aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/pages/summary.js
diff options
context:
space:
mode:
authorNidboj132 <28981031+Nidboj132@users.noreply.github.com>2023-09-22 22:56:11 +0200
committerGitHub <noreply@github.com>2023-09-22 22:56:11 +0200
commit93e2c912b50e5a8a5dc4048568cafdfed606e93e (patch)
tree0b5f3e805120e9f98aa509d39c1c04ef78bc5e95 /frontend/src/components/pages/summary.js
parentdocs: update search response (#77) (diff)
downloadlphub-93e2c912b50e5a8a5dc4048568cafdfed606e93e.tar.gz
lphub-93e2c912b50e5a8a5dc4048568cafdfed606e93e.tar.bz2
lphub-93e2c912b50e5a8a5dc4048568cafdfed606e93e.zip
feat: map search (#78)
Former-commit-id: 660e8bfcde4b850abb3820e209af3def2353fd51
Diffstat (limited to '')
-rw-r--r--frontend/src/components/pages/summary.js3
1 files changed, 1 insertions, 2 deletions
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
28 if(d.data.summary.routes.length===0){d.data.summary.routes[0]={"category": "","history": {"score_count": 0,},"rating": 0,"description": "","showcase": ""}} 28 if(d.data.summary.routes.length===0){d.data.summary.routes[0]={"category": "","history": {"score_count": 0,},"rating": 0,"description": "","showcase": ""}}
29 }) 29 })
30 // eslint-disable-next-line 30 // eslint-disable-next-line
31 }, []); 31 }, [location.pathname]);
32 32
33 const [pageNumber, setPageNumber] = React.useState(1); 33 const [pageNumber, setPageNumber] = React.useState(1);
34 const [lbData, setLbData] = React.useState(null); 34 const [lbData, setLbData] = React.useState(null);
@@ -438,7 +438,6 @@ return (
438 <button onClick={()=>window.location.href=`https://lp.ardapektezol.com/api/v1/demos?uuid=${r.demo_id}`}><img src={img12} alt="download" /></button> 438 <button onClick={()=>window.location.href=`https://lp.ardapektezol.com/api/v1/demos?uuid=${r.demo_id}`}><img src={img12} alt="download" /></button>
439 </span> 439 </span>
440 )} 440 )}
441 {console.log(lbData)}
442 </span> 441 </span>
443 ))} 442 ))}
444 </div> 443 </div>