Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(settings):remove-root-sidebar-email

Aswin Asok5bb7b74d98eb
diff --git a/web/apps/photos/src/components/sidebar/Sidebar.tsx b/web/apps/photos/src/components/sidebar/Sidebar.tsx
index 0156835b04..86e2d801f6 100644
--- a/web/apps/photos/src/components/sidebar/Sidebar.tsx
+++ b/web/apps/photos/src/components/sidebar/Sidebar.tsx
@@ -10,14 +10,7 @@ import {
import { HugeiconsIcon } from "@hugeicons/react";
import CloseIcon from "@mui/icons-material/Close";
import LockOutlinedIcon from "@mui/icons-material/LockOutlined";
-import {
- Box,
- Divider,
- IconButton,
- Skeleton,
- Stack,
- styled,
-} from "@mui/material";
+import { Box, Divider, IconButton, Stack, styled } from "@mui/material";
import Typography from "@mui/material/Typography";
import { isDesktop } from "ente-base/app";
import { EnteLogo, EnteLogoBox } from "ente-base/components/EnteLogo";
@@ -394,14 +387,6 @@ const UserDetailsSection: React.FC<UserDetailsSectionProps> = ({
return (
<>
<Box sx={{ px: 0.5, mt: 1.5, pb: 1.5, mb: 1 }}>
- <Typography sx={{ px: 1, pb: 1, color: "text.muted" }}>
- {userDetails ? (
- userDetails.email
- ) : (
- <Skeleton animation="wave" />
- )}
- </Typography>
-
<SubscriptionCard
userDetails={userDetails}
onClick={handleSubscriptionCardClick}