pancake-frontend
pancake-frontend copied to clipboard
chore: faster prediction prices
PR-Codex overview
The focus of this PR is to update caching settings and add a new hook for updating live price data in the AI predictions feature.
Detailed summary
- Updated caching settings for API response
- Added a new hook
usePredictionPriceUpdate
for updating live price data - Modified
usePredictionPrice
hook to include default values and polling interval
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}