feat: inline login form error and unify Alert font weight

This commit is contained in:
kasia.oczkowska
2024-11-14 14:10:07 +00:00
parent f3d8d7d4ad
commit 75abfda783
10 changed files with 48 additions and 34 deletions

View File

@@ -32,10 +32,7 @@ function AdminApplicationAuthClientDialog(props) {
<Dialog open={true} onClose={onClose}>
<DialogTitle>{title}</DialogTitle>
{error && (
<Alert
severity="error"
sx={{ mt: 1, fontWeight: 500, wordBreak: 'break-all' }}
>
<Alert severity="error" sx={{ mt: 1, wordBreak: 'break-all' }}>
{error.message}
</Alert>
)}