aave-ui icon indicating copy to clipboard operation
aave-ui copied to clipboard

When proposals are cancelled, we should not see buttons to still vote on them

Open foodaka opened this issue 3 years ago • 0 comments

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. Untitled (1)

Expected Behavior 🤔

These buttons should not be displayed if the vote is cancelled.

Steps to Reproduce 🕹

Steps:

  1. Go to app
  2. Click governance
  3. VIsit a proposal you voted on that was cancelled(we need a cancelled AIP)
  4. Check if buttons are there

Your Environment 🌎

info
  browser: chrome
  os: win10
  vpn: yes

Console errors:

[error]: ...

foodaka avatar Oct 27 '21 09:10 foodaka