Skip to content

armgit / ente

Public Imported from GitHub
0

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

suppress warning

anandbaburajan178c2a0d3462
diff --git a/web/apps/embed/src/components/EmbedFileListWithViewer.tsx b/web/apps/embed/src/components/EmbedFileListWithViewer.tsx
index 29ad1eff10..6dc35510bd 100644
--- a/web/apps/embed/src/components/EmbedFileListWithViewer.tsx
+++ b/web/apps/embed/src/components/EmbedFileListWithViewer.tsx
@@ -45,6 +45,7 @@ export const EmbedFileListWithViewer: React.FC<
setCurrentIndex(index);
setOpenFileViewer(true);
},
+ // eslint-disable-next-line react-hooks/exhaustive-deps
[files.length],
);