refactor: alert and console.log

This commit is contained in:
2026-09-26 10:07:35 +03:30
parent 5e6458f18c
commit d3599398ab
-2
View File
@@ -17,8 +17,6 @@ export function MyForm({ onSubmit }: MyFormProps) {
onSubmit: async ({ value }) => { onSubmit: async ({ value }) => {
onSubmit?.(value); onSubmit?.(value);
console.log("Form submitted successfully:", value);
alert(JSON.stringify(value, null, 2));
}, },
}); });