(name: string)
| 30 | }; |
| 31 | |
| 32 | const useFormError = (name: string) => { |
| 33 | const state = useTrackedState(); |
| 34 | const err = state.errors[name]; |
| 35 | return err ? err.message : ''; |
| 36 | }; |
| 37 | |
| 38 | const useFormField = ( |
| 39 | name: string, |
no outgoing calls
no test coverage detected
searching dependent graphs…