pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

perf: Fetch isrefundable from rpc only when round is canceled

Open memoyil opened this issue 6 months ago • 2 comments


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}

memoyil avatar Aug 21 '24 08:08 memoyil