π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Make sure types are at the latest
Manav Rathi2fae026a7715
diff --git a/web/apps/photos/package.json b/web/apps/photos/package.jsonindex 59f3c3b7dd..3da38fa149 100644--- a/web/apps/photos/package.json+++ b/web/apps/photos/package.json@@ -31,7 +31,7 @@"react-select": "^5.8.0","react-top-loading-bar": "^2.0.1","react-virtualized-auto-sizer": "^1.0",- "react-window": "^1.8.6",+ "react-window": "^1.8.10","sanitize-filename": "^1.6.3","similarity-transformation": "^0.0.1","transformation-matrix": "^2.16",@@ -46,8 +46,7 @@"@types/leaflet": "^1.9","@types/photoswipe": "^4.1.1","@types/react-virtualized-auto-sizer": "^1.0",- "@types/react-window": "^1.8.2",- "@types/react-window-infinite-loader": "^1.0.3",+ "@types/react-window": "^1.8.8","@types/uuid": "^9.0.2","@types/zxcvbn": "^4.4.1"}diff --git a/web/apps/photos/src/components/Collections/CollectionListBar.tsx b/web/apps/photos/src/components/Collections/CollectionListBar.tsxindex 28c4fceca8..9c01c6fa73 100644--- a/web/apps/photos/src/components/Collections/CollectionListBar.tsx+++ b/web/apps/photos/src/components/Collections/CollectionListBar.tsx@@ -97,7 +97,7 @@ export const CollectionListBar: React.FC<CollectionListBarProps> = ({setCollectionListSortBy,people,activePerson,- onSelectPerson,+ // onSelectPerson,}) => {// const windowSize = useWindowSize();const isMobile = useIsMobileWidth();@@ -108,8 +108,8 @@ export const CollectionListBar: React.FC<CollectionListBarProps> = ({const [canScrollLeft, setCanScrollLeft] = useState(false);const [canScrollRight, setCanScrollRight] = useState(false);- const updateScrollState = useCallback((e) => {- console.log("updateScrollState 1", e);+ const updateScrollState = useCallback(() => {+ console.log("updateScrollState 1");if (!listContainerRef.current) return;const { scrollLeft, scrollWidth, clientWidth } =@@ -146,7 +146,7 @@ export const CollectionListBar: React.FC<CollectionListBarProps> = ({return () => {listContainer.removeEventListener("scroll", updateScrollState);// listContainer.removeEventListener("resize", updateScrollState);- observer.unobserve(listContainer)+ observer.unobserve(listContainer);};}, [updateScrollState]);diff --git a/web/yarn.lock b/web/yarn.lockindex 2d6425cb67..17e17639d6 100644--- a/web/yarn.lock+++ b/web/yarn.lock@@ -1000,15 +1000,7 @@dependencies:"@types/react" "*"-"@types/react-window-infinite-loader@^1.0.3":- version "1.0.9"- resolved "https://registry.yarnpkg.com/@types/react-window-infinite-loader/-/react-window-infinite-loader-1.0.9.tgz#9b24d4e60f20397ff853c6857f7fe0645becbeb9"- integrity sha512-gEInTjQwURCnDOFyIEK2+fWB5gTjqwx30O62QfxA9stE5aiB6EWkGj4UMhc0axq7/FV++Gs/TGW8FtgEx0S6Tw==- dependencies:- "@types/react" "*"- "@types/react-window" "*"--"@types/react-window@*", "@types/react-window@^1.8.2":+"@types/react-window@^1.8.8":version "1.8.8"resolved "https://registry.yarnpkg.com/@types/react-window/-/react-window-1.8.8.tgz#c20645414d142364fbe735818e1c1e0a145696e3"integrity sha512-8Ls660bHR1AUA2kuRvVG9D/4XpRC6wjAaPT9dil7Ckc76eP9TKWZwwmgfq8Q1LANX3QNDnoU4Zp48A3w+zK69Q==@@ -3796,7 +3788,7 @@ react-virtualized-auto-sizer@^1.0:resolved "https://registry.yarnpkg.com/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.24.tgz#3ebdc92f4b05ad65693b3cc8e7d8dd54924c0227"integrity sha512-3kCn7N9NEb3FlvJrSHWGQ4iVl+ydQObq2fHMn12i5wbtm74zHOPhz/i64OL3c1S1vi9i2GXtZqNqUJTQ+BnNfg==-react-window@^1.8.6:+react-window@^1.8.10:version "1.8.10"resolved "https://registry.yarnpkg.com/react-window/-/react-window-1.8.10.tgz#9e6b08548316814b443f7002b1cf8fd3a1bdde03"integrity sha512-Y0Cx+dnU6NLa5/EvoHukUD0BklJ8qITCtVEPY1C/nL8wwoZ0b5aEw8Ff1dOVHw7fCzMt55XfJDd8S8W8LCaUCg==