pancake-frontend
pancake-frontend copied to clipboard
perf: Fetch isrefundable from rpc only when round is canceled
PR-Codex overview
The focus of this PR is to enhance the prediction history components by adding functionality related to refund status and round results.
Detailed summary
- Updated
useIsRefundable
hook to accept an additional parameter for enabling/disabling functionality - Added logic to display round results and statuses in
HistoricalBet
component - Refactored and optimized code for better readability and maintainability
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}