-
Notifications
You must be signed in to change notification settings - Fork 1
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
Chris/Get all user's collections upon login #379 #483
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Gridiron Survivor Application
Project name: Gridiron Survivor Application
Only deployments on the production branch are activated automatically. If you'd like to activate this deployment, navigate to your deployments. Learn more about Appwrite Function deployments.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
@shashilo just a reminder to review this PR. |
fixes #379
Currently, we are getting the user's data separately on each page. We need to combine these into the initial call so we can cache the results.
All data is now fetched by the time
/league/all
route is loaded. I created a 2 new data store objects for storing leagues and entries.I also updated the data store test and
/league/all/page.tsx
to account for the new cases to test.