From 54275d997be22851f76f2b1f28c78711380a5789 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 28 Mar 2024 01:41:46 +0300 Subject: [PATCH] fix --- src/pages/root/steps/presubmit-step/index.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pages/root/steps/presubmit-step/index.tsx b/src/pages/root/steps/presubmit-step/index.tsx index 7551481..8673aad 100644 --- a/src/pages/root/steps/presubmit-step/index.tsx +++ b/src/pages/root/steps/presubmit-step/index.tsx @@ -81,12 +81,7 @@ export const PresubmitStep = ({ prevStep }: PresubmitStepProps) => { WebApp.close(); } catch (error) { console.error("An error occurred during the submission process:", error); - - if (error?.status === 400) { - alert( - "Введенные данные неверные, проверьте правильность введенных данных.", - ); - } + alert(`Возникла ошибка, ${JSON.stringify(error)}`); } };