Skip to content

Commit

Permalink
fix: remove resolveName
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomoor committed Nov 6, 2024
1 parent 3b340e7 commit 999836f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte/src/index.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const useForm = <Data extends Record<string, unknown>>(method: RequestMet
return form
},
touched(name: string) {
return touched.includes(resolveName(name))
return touched.includes(name)
},
touch(name: string) {
validator.touch(name)
Expand Down

0 comments on commit 999836f

Please sign in to comment.