fix: throw error msg

This commit is contained in:
Gabe
2025-10-30 19:42:00 +08:00
parent e417c0106a
commit e83c1eb017
4 changed files with 10 additions and 30 deletions

View File

@@ -59,7 +59,7 @@ export function AlertProvider({ children }) {
onClose={handleClose}
anchorOrigin={{ vertical, horizontal }}
>
<Alert onClose={handleClose} severity={severity} sx={{ width: "100%" }}>
<Alert onClose={handleClose} severity={severity} sx={{ maxWidth: "80%" }}>
{message}
</Alert>
</Snackbar>