issues
search
aaronjohnweiss
/
ascndr
Climbing tracked.
Apache License 2.0
3
stars
0
forks
source link
Bugfix: empty Stats page fixes
#111
Closed
aaronjohnweiss
closed
1 year ago
aaronjohnweiss
commented
1 year ago
Summary
Clean up
StatsIndex
when in a new-account state (no gyms, etc) to prevent
NaN
text from appearing
Prevent infinite loop in
StatFilters
due to 0 gyms registered
Preview
Before
https://i.imgur.com/VyuAPG3.png
After
https://i.imgur.com/Tcp8QCy.png
Commit Log
chore: replace NaN cases with 0, clean up unit and chevron behavior
fix: prevent empty gyms from causing infinite loop in stat filters page
Summary
StatsIndex
when in a new-account state (no gyms, etc) to preventNaN
text from appearingStatFilters
due to 0 gyms registeredPreview
Commit Log