Y-Foundry-Dao / yfd-dapp-core

Governance dApp
GNU Affero General Public License v3.0
2 stars 1 forks source link

Display status of proposal in UI #32

Closed Tgrede closed 2 years ago

Tgrede commented 2 years ago

In EmergencyProposal.tsx we get emergencyInfo from our useContractEmergency hook. you can call emergencyInfo.state to get the current state of the proposal but currently they are all 'not finalized' until we finalize proposals. We need to display the state of a proposal in the UI to see if it is finalized or not.