bug-fixed issue with calling the endpoint

This commit was merged in pull request #18.
This commit is contained in:
victorAnumudu
2026-05-26 19:35:13 +01:00
parent 5cde7e1f58
commit d641ea57bc
+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: () => {