From d641ea57bc602ab4097aaab8a00695414d8ae6a0 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 26 May 2026 19:35:13 +0100 Subject: [PATCH] bug-fixed issue with calling the endpoint --- pages/contacts.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/contacts.js b/pages/contacts.js index a7af4a4..e82648a 100644 --- a/pages/contacts.js +++ b/pages/contacts.js @@ -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: () => { -- 2.34.1