type 'FormPropsType'
Getting this error message when following the guide -
ERROR in src/App.tsx:81:17
TS2322: Type '{ initialValues: { email: string; password: string; }; }' is not assignable to type 'FormPropsType'.
Property 'onSubmit' is missing in type '{ initialValues: { email: string; password: string; }; }' but required in type '{ onSubmit: (values: any) => void; }'.
79 | },
80 | ]}
82 | initialValues: {
83 | email: "info@refine.dev",
84 | password: "refine-supabase",
How do I fix this? Thanks
ERROR in src/App.tsx:81:17
TS2322: Type '{ initialValues: { email: string; password: string; }; }' is not assignable to type 'FormPropsType'.
Property 'onSubmit' is missing in type '{ initialValues: { email: string; password: string; }; }' but required in type '{ onSubmit: (values: any) => void; }'.
79 | },
80 | ]}
81 | formProps={{| ^^^^^^^^^
82 | initialValues: {
83 | email: "info@refine.dev",
84 | password: "refine-supabase",
How do I fix this? Thanks
