bug-fixed issue with calling the endpoint #18

Merged
ameye merged 1 commits from contact-endpoint-bug into master 2026-05-26 20:31:23 +00:00
+3 -3
View File
@@ -29,9 +29,9 @@ export default function Home() {
return sendContactMsg(fields)
},
onSuccess: (res) => {
if (res?.data?.resultCode != '0') {
throw({message: res?.data?.resultDescription})
}
// if (res?.data?.resultCode != '0') {
// throw({message: res?.data?.resultDescription})
// }
window.scrollTo(0, 0);
},
// onSettled: () => {