Commit bbf3111
committed
fix(ui): Reset form submitting state after successful project creation (#94)
Fixes the bug where creating a project would return to the create project
page instead of navigating to the dashboard.
The ProjectCreationForm component was not resetting isSubmitting state to
false in the success path, leaving the form in a loading state with disabled
inputs. This interfered with Next.js router navigation.
Now properly resets isSubmitting after calling onSuccess(), allowing the
component to unmount cleanly during navigation to the project dashboard.
Closes #941 parent 81b855b commit bbf3111
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
| |||
0 commit comments