diff --git a/web/apps/photos/src/constants/gallery.ts b/web/apps/photos/src/constants/gallery.ts index d7047865ff..36e64b4aa7 100644 --- a/web/apps/photos/src/constants/gallery.ts +++ b/web/apps/photos/src/constants/gallery.ts @@ -8,4 +8,3 @@ export const SPACE_BTW_DATES = 44; export const SPACE_BTW_DATES_TO_IMAGE_CONTAINER_WIDTH_RATIO = 0.244; -export const SYNC_INTERVAL_IN_MICROSECONDS = 1000 * 60 * 5; // 5 minutes diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx index 10306185f7..725da02576 100644 --- a/web/apps/photos/src/pages/gallery.tsx +++ b/web/apps/photos/src/pages/gallery.tsx @@ -75,7 +75,6 @@ import Uploader from "components/Upload/Uploader"; import { UploadSelectorInputs } from "components/UploadSelectorInputs"; import PlanSelector from "components/pages/gallery/PlanSelector"; import SelectedFileOptions from "components/pages/gallery/SelectedFileOptions"; -import { SYNC_INTERVAL_IN_MICROSECONDS } from "constants/gallery"; import { t } from "i18next"; import { useRouter } from "next/router"; import { AppContext } from "pages/_app"; @@ -140,6 +139,8 @@ import { isArchivedFile } from "utils/magicMetadata"; import { getSessionExpiredMessage } from "utils/ui"; import { getLocalFamilyData } from "utils/user/family"; +const SYNC_INTERVAL_IN_MICROSECONDS = 1000 * 60 * 5; // 5 minutes + export const DeadCenter = styled("div")` flex: 1; display: flex;