Skip to content

armgit / ente

Public Imported from GitHub
0

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

Swap

Manav Rathi5c92d093ca3b
diff --git a/web/apps/photos/src/components/WatchFolder.tsx b/web/apps/photos/src/components/WatchFolder.tsx
index c80d336412..22c93fb3b4 100644
--- a/web/apps/photos/src/components/WatchFolder.tsx
+++ b/web/apps/photos/src/components/WatchFolder.tsx
@@ -1,3 +1,7 @@
+import {
+ OverflowMenu,
+ OverflowMenuOption,
+} from "@/base/components/OverflowMenu";
import { EllipsizedTypography } from "@/base/components/Typography";
import {
useModalVisibility,
@@ -15,10 +19,6 @@ import {
SpaceBetweenFlex,
VerticallyCentered,
} from "@ente/shared/components/Container";
-import {
- OverflowMenu,
- OverflowMenuOption,
-} from "@ente/shared/components/OverflowMenu";
import CheckIcon from "@mui/icons-material/Check";
import DoNotDisturbOutlinedIcon from "@mui/icons-material/DoNotDisturbOutlined";
import FolderCopyOutlinedIcon from "@mui/icons-material/FolderCopyOutlined";
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsx
index 86408b3345..04c0f25495 100644
--- a/web/apps/photos/src/pages/shared-albums.tsx
+++ b/web/apps/photos/src/pages/shared-albums.tsx
@@ -3,6 +3,10 @@ import { FormPaper, FormPaperTitle } from "@/base/components/FormPaper";
import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator";
import { SpaceBetweenFlex } from "@/base/components/mui/Container";
import { NavbarBase, SelectionBar } from "@/base/components/Navbar";
+import {
+ OverflowMenu,
+ OverflowMenuOption,
+} from "@/base/components/OverflowMenu";
import {
useIsSmallWidth,
useIsTouchscreen,
@@ -30,10 +34,6 @@ import {
FluidContainer,
VerticallyCentered,
} from "@ente/shared/components/Container";
-import {
- OverflowMenu,
- OverflowMenuOption,
-} from "@ente/shared/components/OverflowMenu";
import SingleInputForm, {
type SingleInputFormProps,
} from "@ente/shared/components/SingleInputForm";
@@ -703,7 +703,7 @@ const ListHeader: React.FC<ListHeaderProps> = ({
fileCount={publicFiles.length}
/>
{downloadEnabled && (
- <OverflowMenu ariaID={"collection-options"}>
+ <OverflowMenu ariaID="collection-options">
<OverflowMenuOption
startIcon={<FileDownloadOutlinedIcon />}
onClick={downloadAllFiles}