diff --git a/packages/example/src/lib/form/TextFieldFormInput.tsx b/packages/example/src/lib/form/TextFieldFormInput.tsx index ffa83d8..b3ba633 100644 --- a/packages/example/src/lib/form/TextFieldFormInput.tsx +++ b/packages/example/src/lib/form/TextFieldFormInput.tsx @@ -20,8 +20,8 @@ export type TextFieldFormInputProps = Props | OptionalProps export class TextFieldFormInput extends Component.makeUntraced("TextFieldFormInput")(function*(props: TextFieldFormInputProps) { const input: ( - | { readonly optional: true } & Form.useOptionalInput.Result - | { readonly optional: false } & Form.useInput.Result + | { readonly optional: true } & Form.useOptionalInput.Success + | { readonly optional: false } & Form.useInput.Success ) = props.optional // biome-ignore lint/correctness/useHookAtTopLevel: "optional" reactivity not supported ? { optional: true, ...yield* Form.useOptionalInput(props.field, props) }