diff --git a/web/apps/photos/src/components/Upload/UploadProgress.tsx b/web/apps/photos/src/components/Upload/UploadProgress.tsx
index 67ac3a1a4a..c7628d2cea 100644
--- a/web/apps/photos/src/components/Upload/UploadProgress.tsx
+++ b/web/apps/photos/src/components/Upload/UploadProgress.tsx
@@ -382,14 +382,14 @@ const InProgressSection: React.FC = () => {
};
return (
-
- }>
+
+ }>
-
-
+
+
{hasLivePhotos && (
{t("LIVE_PHOTOS_DETECTED")}
)}
@@ -401,8 +401,8 @@ const InProgressSection: React.FC = () => {
maxHeight={160}
itemSize={35}
/>
-
-
+
+
);
};
@@ -424,33 +424,24 @@ const InProgressItemContainer = styled("div")`
}
`;
-const UploadProgressSection = styled((props: AccordionProps) => (
+const SectionAccordion = styled((props: AccordionProps) => (
))(({ theme }) => ({
borderTop: `1px solid ${theme.palette.divider}`,
- "&:last-child": {
- borderBottom: `1px solid ${theme.palette.divider}`,
- },
- "&:before": {
- display: "none",
- },
+ "&:before": { display: "none" },
+ "&:last-child": { borderBottom: `1px solid ${theme.palette.divider}` },
}));
-const UploadProgressSectionTitle = styled(AccordionSummary)(() => ({
+const SectionAccordionSummary = styled(AccordionSummary)(() => ({
backgroundColor: "rgba(255, 255, 255, .05)",
}));
-const UploadProgressSectionContent = styled(AccordionDetails)(({ theme }) => ({
+const SectionAccordionDetails = styled(AccordionDetails)(({ theme }) => ({
padding: theme.spacing(2),
}));
const SectionInfo = (props: TypographyProps) => (
-
+
);
const NotUploadSectionHeader = styled("div")(
@@ -499,11 +490,11 @@ const ResultSection: React.FC = ({
};
return (
-
- }>
+
+ }>
-
-
+
+
{sectionInfo && {sectionInfo}}
= ({
maxHeight={160}
itemSize={35}
/>
-
-
+
+
);
};