thêm giao diện quản lý thuyền

This commit is contained in:
Tran Anh Tuan
2025-12-10 19:49:54 +07:00
parent df4318fed4
commit 3e1c4dcbc5
24 changed files with 2091 additions and 135 deletions

View File

@@ -72,7 +72,11 @@ api.interceptors.response.use(
statusText ||
"Unknown error";
showErrorToast(`Lỗi ${status}: ${errMsg}`);
// Không hiển thị toast cho status 400 (validation errors)
if (status !== 400) {
showErrorToast(`Lỗi ${status}: ${errMsg}`);
}
if (status === 401) {
handle401();
}