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.
In
EmergencyProposal.tsx
we getemergencyInfo
from ouruseContractEmergency
hook. you can callemergencyInfo.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.