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

fix: Risk fail tooltip not visible when it gets error

Open memoyil opened this issue 9 months ago • 2 comments

Fail tooltip at first not visible when it gets error


PR-Codex overview

The focus of this PR is to optimize the retry functionality in the AccessRisk component by adding a new prop isFetching to RetryRisk.

Detailed summary

  • Added isFetching prop to RetryRisk component
  • Refactored RetryRisk component logic for tooltip display
  • Updated onClick handling in RetryRisk
  • Modified useEffect in AccessRiskComponent to handle isFetching
  • Replaced useTokenRisk with isFetching in AccessRiskComponent

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

memoyil avatar Apr 30 '24 10:04 memoyil