oceanprotocol-archive / oceandao-proposal-portal

OceanDao proposal portal
0 stars 1 forks source link

Disable buttons instead of hiding them #124

Open KatunaNorbert opened 2 years ago

KatunaNorbert commented 2 years ago

We hide buttons when we don't want the user to use them(based on canSubmitProposal && isOwner), we should just disable the button as we do when it is in loading state and don't want the user to trigger the action