fix
This commit is contained in:
parent
8c217ab321
commit
54275d997b
|
|
@ -81,12 +81,7 @@ export const PresubmitStep = ({ prevStep }: PresubmitStepProps) => {
|
||||||
WebApp.close();
|
WebApp.close();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("An error occurred during the submission process:", error);
|
console.error("An error occurred during the submission process:", error);
|
||||||
|
alert(`Возникла ошибка, ${JSON.stringify(error)}`);
|
||||||
if (error?.status === 400) {
|
|
||||||
alert(
|
|
||||||
"Введенные данные неверные, проверьте правильность введенных данных.",
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue