aave-ui
aave-ui copied to clipboard
When proposals are cancelled, we should not see buttons to still vote on them
When a proposal is submitted and then cancelled, when you enter the application on the proposal page it shows the ability to still vote on this proposal.
Prerequisites
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
If a proposal is cancelled the section where it says "Your voting information" should not show buttons to vote if this proposal is already cancelled.
Expected Behavior 🤔
These buttons should not be displayed if the vote is cancelled.
Steps to Reproduce 🕹
Steps:
- Go to app
- Click governance
- VIsit a proposal you voted on that was cancelled(we need a cancelled AIP)
- Check if buttons are there
Your Environment 🌎
info
browser: chrome
os: win10
vpn: yes
Console errors:
[error]: ...