Skip to content
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

πŸ˜΅β€πŸ’« Fix on proposal title input #2955

Merged
merged 1 commit into from
May 4, 2022

Conversation

WRadoslaw
Copy link
Contributor

@WRadoslaw WRadoslaw commented May 2, 2022

Main issue here was that input was changing value of useForm context while keeping track of value xstate machine context, which is always 1 re-render behind useForm, because of using useEffect to sync both of them. For now I switched value of input to track useForm value, but desirable approach is to introduce RHF.

#2278

@WRadoslaw WRadoslaw requested a review from thesan May 2, 2022 10:43
@vercel
Copy link

vercel bot commented May 2, 2022

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated
dao βœ… Ready (Inspect) Visit Preview May 2, 2022 at 10:47AM (UTC)
pioneer-2 βœ… Ready (Inspect) Visit Preview May 2, 2022 at 10:47AM (UTC)
pioneer-2-storybook βœ… Ready (Inspect) Visit Preview May 2, 2022 at 10:47AM (UTC)

@WRadoslaw WRadoslaw merged commit 6973b95 into dev May 4, 2022
@WRadoslaw WRadoslaw deleted the fix/proposal-title-input branch May 4, 2022 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants