Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix nested paragraph markup in download notification

Anand Baburajanf9a697894858
diff --git a/web/apps/photos/src/components/DownloadStatusNotifications.tsx b/web/apps/photos/src/components/DownloadStatusNotifications.tsx
index 4a3672a3bf..19664d4216 100644
--- a/web/apps/photos/src/components/DownloadStatusNotifications.tsx
+++ b/web/apps/photos/src/components/DownloadStatusNotifications.tsx
@@ -199,16 +199,16 @@ export const DownloadStatusNotifications: React.FC<
total: group.total,
});
const caption = (
- <Typography
- variant="small"
+ <Box
+ component="span"
sx={{
color: hasErrors ? "white" : "text.muted",
fontVariantNumeric: "tabular-nums",
}}
>
{statusText}
- {!isComplete && <> &bull; {progress}</>}
- </Typography>
+ {!isComplete && <> {"\u2022"} {progress}</>}
+ </Box>
);
// Determine the start icon based on state