refactor: alert and console.log
This commit is contained in:
@@ -17,8 +17,6 @@ export function MyForm({ onSubmit }: MyFormProps) {
|
||||
|
||||
onSubmit: async ({ value }) => {
|
||||
onSubmit?.(value);
|
||||
console.log("Form submitted successfully:", value);
|
||||
alert(JSON.stringify(value, null, 2));
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user