fix
This commit is contained in:
parent
8c217ab321
commit
54275d997b
|
|
@ -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)}`);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue