Skip to content

Commit 1b81a4c

Browse files
fix handle save
1 parent befcf31 commit 1b81a4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/features/admin/components/form

src/features/admin/components/form/Form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const Form = (): JSX.Element | null => {
4343
className={styles.form}
4444
onSubmit={(e) => {
4545
e.preventDefault();
46-
handleSave(formData);
46+
handleSave({ data: formData });
4747
}}
4848
>
4949
<h3 className={styles.formHeading}>

0 commit comments

Comments
 (0)