citycoins/ui

๐Ÿž[BUG] Claim stacking reward state overwritten

Opened this issue ยท 0 comments

Describe the bug

The successful tx dialog is reset in the claim stacking reward component when searching for a new reward cycle. It should persist.

To Reproduce

Steps to reproduce the behavior:

  1. Search for a cycle with a valid claim, claim button is shown
  2. Submit the claim tx, claim button updates to tx info and link
  3. Search for another cycle, resets state to claim button

Expected behavior

The data would persist, and wouldn't mislead someone into submitting twice.

Screenshots

image