diff options
| author | Nidboj132 <28981031+Nidboj132@users.noreply.github.com> | 2023-09-22 17:05:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-22 17:05:54 +0200 |
| commit | 61df0981fdab3d578de8c09b65bc522855622e84 (patch) | |
| tree | edc191d8dfde7d1fcc9c9fa069894b3af3060fd9 /frontend/src/components | |
| parent | fix: change all status codes to 200 (#66) (diff) | |
| download | lphub-61df0981fdab3d578de8c09b65bc522855622e84.tar.gz lphub-61df0981fdab3d578de8c09b65bc522855622e84.tar.bz2 lphub-61df0981fdab3d578de8c09b65bc522855622e84.zip | |
fix: summary crashing (#53)
Former-commit-id: 3439c27c6575c3f7ba526bce66df378aa0e46f01
Diffstat (limited to 'frontend/src/components')
| -rw-r--r-- | frontend/src/components/pages/summary.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/pages/summary.js b/frontend/src/components/pages/summary.js index 9806af9..4fab799 100644 --- a/frontend/src/components/pages/summary.js +++ b/frontend/src/components/pages/summary.js | |||
| @@ -351,7 +351,7 @@ return ( | |||
| 351 | </div> | 351 | </div> |
| 352 | </section> | 352 | </section> |
| 353 | 353 | ||
| 354 | {lbData.success===false?( | 354 | {lbData===null?"":lbData.success===false?( |
| 355 | <section id='section6' className='summary2'> | 355 | <section id='section6' className='summary2'> |
| 356 | <h1 style={{textAlign:"center"}}>Map is not available for competitive boards.</h1> | 356 | <h1 style={{textAlign:"center"}}>Map is not available for competitive boards.</h1> |
| 357 | </section> | 357 | </section> |