diff --git a/web/apps/photos/package.json b/web/apps/photos/package.json index deac7ad04..59d928c1e 100644 --- a/web/apps/photos/package.json +++ b/web/apps/photos/package.json @@ -44,7 +44,6 @@ "photoswipe": "file:./thirdparty/photoswipe", "piexifjs": "^1.0.6", "pure-react-carousel": "^1.30.1", - "react-datepicker": "^4.16.0", "react-dropzone": "^11.2.4", "react-otp-input": "^2.3.1", "react-select": "^4.3.1", @@ -65,14 +64,11 @@ "@types/bs58": "^4.0.1", "@types/leaflet": "^1.9.3", "@types/photoswipe": "^4.1.1", - "@types/react-collapse": "^5.0.1", - "@types/react-datepicker": "^4.15.0", "@types/react-select": "^4.0.15", "@types/react-virtualized-auto-sizer": "^1.0.1", "@types/react-window": "^1.8.2", "@types/react-window-infinite-loader": "^1.0.3", "@types/uuid": "^9.0.2", - "@types/wicg-file-system-access": "^2020.9.5", "@types/zxcvbn": "^4.4.1" } } diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsx index 425290023..344a7722a 100644 --- a/web/apps/photos/src/components/PhotoViewer/index.tsx +++ b/web/apps/photos/src/components/PhotoViewer/index.tsx @@ -1,5 +1,4 @@ import { logError } from "@ente/shared/sentry"; -import classnames from "classnames"; import Photoswipe from "photoswipe"; import PhotoswipeUIDefault from "photoswipe/dist/photoswipe-ui-default"; import { useContext, useEffect, useMemo, useRef, useState } from "react"; @@ -84,7 +83,6 @@ interface Iprops { gettingData: (instance: any, index: number, item: EnteFile) => void; getConvertedItem: (instance: any, index: number, item: EnteFile) => void; id?: string; - className?: string; favItemIds: Set; tempDeletedFileIds: Set; setTempDeletedFileIds?: (value: Set) => void; @@ -724,13 +722,11 @@ function PhotoViewer(props: Iprops) { const scheduleUpdate = () => (needUpdate.current = true); const { id } = props; - let { className } = props; - className = classnames(["pswp", className]).trim(); return ( <>