Skip to content

Commit

Permalink
fix typechecking (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
thadk authored Aug 21, 2024
1 parent 23ef2bb commit 4990a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heat-stack/app/routes/_heat+/single.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export default function Inputs() {

type SchemaZodFromFormType = z.infer<typeof Schema>
const [form, fields] = useForm({
lastResult,
/* removed lastResult , consider re-adding https://conform.guide/api/react/useForm#options */
onValidate({ formData }) {
return parseWithZod(formData, { schema: Schema })
},
Expand Down

0 comments on commit 4990a48

Please sign in to comment.