diff options
Diffstat (limited to 'frontend/src/components/pages')
| -rw-r--r-- | frontend/src/components/pages/summary.js | 3 |
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> |