Closed Marchand-Nicolas closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sepolia-starknet-quest | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 8, 2024 10:35am |
starknet-quest | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 8, 2024 10:35am |
The changes enhance the quest selection logic within the QuestsProvider
component by prioritizing the display of the last boosted quest, provided it is not expired. If no boosted quests are available, a random non-expired quest will be featured instead. This improves the accuracy of featured quests and eliminates redundant code by consolidating similar logic.
Files | Change Summary |
---|---|
context/QuestsProvider.tsx | Updated logic for selecting the lastBoostedQuest to exclude expired quests; simplified redundant quest selection code. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
close #809
Pull Request type
Please add the labels corresponding to the type of changes your PR introduces:
Other information
Summary by CodeRabbit