Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es1a into …
Browse files Browse the repository at this point in the history
…develop
  • Loading branch information
CANCI0 committed Apr 23, 2024
2 parents 71fdcb0 + d316a5c commit 3d7584b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file modified webapp/public/favicon.ico
Binary file not shown.
8 changes: 8 additions & 0 deletions webapp/src/pages/Ranking/Ranking.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,27 @@ const Ranking = () => {

if (isLoading) {
return (
<>
<Nav/>
<div>
<Heading as="h2">{t('pages.ranking.loading')}</Heading>
<p>{t('pages.ranking.loadingText')}</p>
</div>
<Footer/>
</>
);
}

if (error) {
return (
<>
<Nav/>
<div>
<Heading as="h2">{t('pages.ranking.error')} {error}</Heading>
<p>{t('pages.ranking.errorLabel')}</p>
</div>
<Footer/>
</>
);
}

Expand Down

0 comments on commit 3d7584b

Please sign in to comment.