Skip to content

Aggregate homepage stats from APIs#46

Open
cmyui wants to merge 1 commit intomasterfrom
aggregate-homepage-stats
Open

Aggregate homepage stats from APIs#46
cmyui wants to merge 1 commit intomasterfrom
aggregate-homepage-stats

Conversation

@cmyui
Copy link
Copy Markdown
Member

@cmyui cmyui commented Aug 11, 2024

No description provided.

@cmyui cmyui marked this pull request as ready for review August 11, 2024 23:39
Comment thread .env.example
Comment thread .env.example
Comment thread src/pages/HomePage.tsx
const totalUsersRegistered = 172_395
const [totalPPEarned, setTotalPPEarned] = useState(0)
const [totalScoresSet, setTotalScoresSet] = useState(0)
const [totalUsersRegistered, setTotalUsersRegistered] = useState(0)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

might want to hide the uis in this null state

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

using 0 as a default state rather than null or undefined smells weird to me...

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.

2 participants