Cài đặt thành công tính năng người dùng đầu tiên phải đăng ký tài khoản để quản lí không sử dụng alert

This commit is contained in:
2026-06-13 17:51:41 +07:00
parent ee5a5b6800
commit f38d7e01a1
4 changed files with 2 additions and 4 deletions
-1
View File
@@ -45,7 +45,6 @@ export const SignupPage: React.FC<SignupPageProps> = ({ onBack, onSuccess }) =>
throw new Error(data.message || 'Đăng ký thất bại');
}
alert(data.isAdmin ? 'Đăng ký thành công! Bạn là Quản trị viên hệ thống.' : 'Đăng ký tài khoản thành công!');
onSuccess();
} catch (err: any) {
setError(err.message);