fix(core-components): resolve DOM nesting warning in OAuthRequestDialog
Signed-off-by: Deepesh123455 <deepeshthakur802@gmail.com>
This commit is contained in:
+10
-2
@@ -92,11 +92,19 @@ const LoginRequestListItem = ({ request, busy, setBusy }: RowProps) => {
|
||||
secondary={
|
||||
<>
|
||||
{message && (
|
||||
<Typography variant="subtitle2" color="textSecondary">
|
||||
<Typography
|
||||
variant="subtitle2"
|
||||
component="span"
|
||||
color="textSecondary"
|
||||
>
|
||||
{message}
|
||||
</Typography>
|
||||
)}
|
||||
{error && <Typography color="error">{error}</Typography>}
|
||||
{error && (
|
||||
<Typography component="span" color="error">
|
||||
{error}
|
||||
</Typography>
|
||||
)}
|
||||
</>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user