Skip to content

armgit / ente

Public Imported from GitHub
0

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

refactor(photos):use-regular-large-files-import

Aswin Asok324ee47f9dc4
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index b140b58e11..42adeee43f 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -35,6 +35,7 @@ import {
SearchResultsHeader,
type RemotePullOpts,
} from "@/components/gallery";
+import { LargeFilesView } from "@/components/gallery/LargeFilesView";
import {
NormalNavbarContents,
UploadButton,
@@ -173,18 +174,11 @@ import {
import { usePhotosAppContext } from "ente-new/photos/types/context";
import { PromiseQueue } from "ente-utils/promise";
import { t } from "i18next";
-import dynamic from "next/dynamic";
import { useRouter, type NextRouter } from "next/router";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import type { FileWithPath } from "react-dropzone";
import { Trans } from "react-i18next";
-const LargeFilesView = dynamic(() =>
- import("@/components/gallery/LargeFilesView").then(
- (module) => module.LargeFilesView,
- ),
-);
-
const Page: React.FC = () => {
const { logout, showMiniDialog, onGenericError } = useBaseContext();
const {