Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #6 Add hall of fame #8

Merged

Conversation

ThulinaWickramasinghe
Copy link
Collaborator

  • Add routing for hall-of-fame
  • WIP dynamic data fetching for hof

@ThulinaWickramasinghe ThulinaWickramasinghe marked this pull request as draft August 17, 2024 15:07
@ThulinaWickramasinghe ThulinaWickramasinghe changed the title wip(hall-of-fame): add routing, data fetching wip Add hall of fame Aug 18, 2024
@ThulinaWickramasinghe ThulinaWickramasinghe changed the title Add hall of fame Add #6 Add hall of fame Aug 18, 2024
@ThulinaWickramasinghe ThulinaWickramasinghe linked an issue Aug 18, 2024 that may be closed by this pull request
@ThulinaWickramasinghe ThulinaWickramasinghe self-assigned this Aug 18, 2024
@ThulinaWickramasinghe ThulinaWickramasinghe marked this pull request as ready for review August 19, 2024 19:24
src/store/api/leaderboard/index.js Outdated Show resolved Hide resolved
src/store/api/leaderboard/index.js Outdated Show resolved Hide resolved
src/store/api/leaderboard/transformer.js Outdated Show resolved Hide resolved
const { pathname } = useLocation();

useEffect(() => {
setIsHallOfFame(pathname === hallOfFame);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this extra state, this comparison can be moved directly to line 79

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is being used in 2 places. Will add to a variable and use it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Akalanka47000 Akalanka47000 merged commit 9cb2eae into sliit-foss:development Aug 21, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bashaway Hall Fame Page
2 participants