mirror of
https://github.com/ente-io/ente.git
synced 2025-08-14 02:07:33 +00:00
Fix error about nesting p in div
This commit is contained in:
@@ -183,7 +183,12 @@ export const AttributedMiniDialog: React.FC<
|
||||
)}
|
||||
<DialogContent>
|
||||
{attributes.message && (
|
||||
<Typography color="text.muted">
|
||||
<Typography
|
||||
component={
|
||||
typeof attributes.message == "string" ? "p" : "div"
|
||||
}
|
||||
color="text.muted"
|
||||
>
|
||||
{attributes.message}
|
||||
</Typography>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user