Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unnecessary cast

Manav Rathi8edf6d825335
diff --git a/web/apps/photos/src/components/Badge.tsx b/web/apps/photos/src/components/Badge.tsx
index a3aca884a1..0e5da17d9d 100644
--- a/web/apps/photos/src/components/Badge.tsx
+++ b/web/apps/photos/src/components/Badge.tsx
@@ -1,5 +1,4 @@
import { Box, styled } from "@mui/material";
-import { CSSProperties } from "@mui/material/styles/createTypography";
export const Badge = styled(Box)(({ theme }) => ({
borderRadius: theme.shape.borderRadius,
@@ -8,5 +7,5 @@ export const Badge = styled(Box)(({ theme }) => ({
backdropFilter: `blur(${theme.colors.blur.muted})`,
color: theme.colors.white.base,
textTransform: "uppercase",
- ...(theme.typography.tiny as CSSProperties),
+ ...theme.typography.mini,
}));