-
Notifications
You must be signed in to change notification settings - Fork 27
fix: refacto react-hook-form logic for roles based organizations #1471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: clegirar <[email protected]>
✅ Deploy Preview for teritori-dapp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for gno-dapp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: clegirar <[email protected]>
Signed-off-by: clegirar <[email protected]>
| // TODO: change it to an array | ||
| roles: z.string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be better to do that now, no ?
|
Hello, I've added a custom error message to I also changed the value for Commit: e63f410 |




Start a refacto about react-hook-form logic for roles based organizations.
The goal is to understand better the react-hook-form flow because it's a lot of abstractions. You can give your opinion if you find it more appropriate and understandable.
TODO:
Can't refacto
ConfigureVotingFormDataandOrganizationDatabecause it's generic between all organizations, but could be cool to adapt it.