Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix build

Abhinav7687681e0770
diff --git a/apps/photos/src/pages/deduplicate/index.tsx b/apps/photos/src/pages/deduplicate/index.tsx
index 4503e28605..b064dd5475 100644
--- a/apps/photos/src/pages/deduplicate/index.tsx
+++ b/apps/photos/src/pages/deduplicate/index.tsx
@@ -160,6 +160,7 @@ export default function Deduplicate() {
value={{
...DefaultDeduplicateContext,
collectionNameMap,
+ isOnDeduplicatePage: true,
}}>
{duplicateFiles.length > 0 && (
<Info>{t('DEDUPLICATE_BASED_ON_SIZE')}</Info>
diff --git a/apps/photos/src/types/deduplicate/index.ts b/apps/photos/src/types/deduplicate/index.ts
index 8376b36386..6a4007b62f 100644
--- a/apps/photos/src/types/deduplicate/index.ts
+++ b/apps/photos/src/types/deduplicate/index.ts
@@ -1,4 +1,5 @@
export type DeduplicateContextType = {
+ isOnDeduplicatePage: boolean;
collectionNameMap: Map<number, string>;
};