diff --git a/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx b/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx index 8614cfc823..7e253dbd2d 100644 --- a/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx +++ b/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx @@ -6,7 +6,6 @@ import { isPartOfFamilyWithOtherMembers, } from "@/new/photos/services/user-details"; import { bytesInGB, formattedStorageByteSize } from "@/new/photos/utils/units"; -import { SpaceBetweenFlex } from "@ente/shared/components/Container"; import ChevronRightIcon from "@mui/icons-material/ChevronRight"; import CircleIcon from "@mui/icons-material/Circle"; import { @@ -168,7 +167,7 @@ const IndividualUsageSection: React.FC = ({ - + {`${formattedStorageByteSize(storage - usage)} ${t("free")}`} @@ -211,26 +210,24 @@ const FamilyUsageSection: React.FC = ({ totalUsage, fileCount, totalStorage, -}) => { - return ( - - - - - - - - - {t("photos_count", { count: fileCount ?? 0 })} - - - - ); -}; +}) => ( + + + + + + + + + {t("photos_count", { count: fileCount ?? 0 })} + + + +); interface FamilyUsageBarProps { userUsage: number; @@ -243,7 +240,7 @@ const FamilyUsageBar: React.FC = ({ totalUsage, totalStorage, }) => ( - +