Commit 8fc6ada
committed
Fix methods reference in ScrollToErrorHookForm component
- Get methods from useRemixFormContext() instead of undefined variable
- This fixes the remaining ReferenceError: methods is not defined
- Now the component properly accesses form methods for reset and submit state1 parent ce180af commit 8fc6ada
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments