Describe the bug
In some instances, users are seeing that they are eligible to claim rewards when they shouldn't be. Clicking on the claim button on the dashboard opens a modal where they can claim. They can try to claim, but they won't get any rewards.
To Reproduce
Steps to reproduce the behavior:
- Setup the UI to run on an eth mainnet fork. Make sure your account is funded with eth.
- Supply some eth
- Swap your supplied eth for some other asset. I used USDT.
- Notice that even before you approve and swap, the claim rewards button is visible on the dashboard (it might be partially hidden behind the swap modal)
I was able to consistently reproduce using these steps. I'm not sure what the swap has to do with it. I also noticed that if I let the app sit on the dashboard for a while, the claim rewards button would intermittently show for a little while, and then disappear.
Describe the bug
In some instances, users are seeing that they are eligible to claim rewards when they shouldn't be. Clicking on the claim button on the dashboard opens a modal where they can claim. They can try to claim, but they won't get any rewards.
To Reproduce
Steps to reproduce the behavior:
I was able to consistently reproduce using these steps. I'm not sure what the swap has to do with it. I also noticed that if I let the app sit on the dashboard for a while, the claim rewards button would intermittently show for a little while, and then disappear.