Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unused

Manav Rathi8306b5d534d0
diff --git a/web/apps/photos/src/components/Collections/CollectionShare/publicShare/manage/selectComponents/LabelWithDivider.tsx b/web/apps/photos/src/components/Collections/CollectionShare/publicShare/manage/selectComponents/LabelWithDivider.tsx
deleted file mode 100644
index c76d2ed512..0000000000
--- a/web/apps/photos/src/components/Collections/CollectionShare/publicShare/manage/selectComponents/LabelWithDivider.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import { Box, Divider, Typography } from "@mui/material";
-
-export function LabelWithDivider({ data }) {
- return (
- <>
- <Box className="main" px={3} py={1}>
- <Typography>{data.label}</Typography>
- </Box>
- <Divider sx={{ borderColor: "stroke.fainter" }} />
- </>
- );
-}
diff --git a/web/apps/photos/src/components/Collections/CollectionShare/publicShare/manage/selectComponents/OptionWithDivider.tsx b/web/apps/photos/src/components/Collections/CollectionShare/publicShare/manage/selectComponents/OptionWithDivider.tsx
deleted file mode 100644
index cc147cc91e..0000000000
--- a/web/apps/photos/src/components/Collections/CollectionShare/publicShare/manage/selectComponents/OptionWithDivider.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import { components } from "react-select";
-import { LabelWithDivider } from "./LabelWithDivider";
-
-const { Option } = components;
-
-export const OptionWithDivider = (props) => (
- <Option {...props}>
- <LabelWithDivider data={props.data} />
- </Option>
-);