You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to add more context: wagmi uses hooks to prepare transactions. Due to the rules of hooks there are certain limitations.
In our current design, we send the transaction when the user clicks the option they want to vote for, making it impossible to preemptively run the hook (as the option is not known until the user clicks). We would need to independently select voting option, upload justification and send transaction, as the hook can then run after the option and the justification CID is known and before they click send vote.
Follow-up on #624
The text was updated successfully, but these errors were encountered: