Closed ayushtom closed 7 months ago
Assign this task to me
Assigned!
on it....
can i get mock data for this apparently without any data available some components won't be displayed
you can use the goerli endpoint and use it in your env
file
can i get mock data for this apparently without any data available some components won't be displayed
@Goodness5 waiting for your PR on this or issue will go to someone else :)
Done here is a link to the PR https://github.com/starknet-id/starknet.quest/pull/551
When the user comes on the leaderboard page, we make some api calls to get the latest leaderboard data and in that time when this call is made , the user is able to see the leaderboard but nothing indicates that we are fetching data. I think a loading state like a shimmer should help here which takes up a certain height and is displayed until we get the data. A similar implementation of this shimmer is seen when you change the page with the help of the pagination buttons below but it would be nice if we showed the shimmer when the user lands on the page for the first time.
The code for example shimmers can be found under the
skeletons
folder