Skip to content

armgit / ente

Public Imported from GitHub
0

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

NEXT_PUBLIC_ENTE_TRACE

Manav Rathie9153635ea9b
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 93c8679bb3..cd274d7d81 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -320,7 +320,7 @@ export default function Gallery() {
const isInSearchMode = state.isInSearchMode;
const filteredFiles = state.filteredFiles;
- if (process.env.NEXT_PUBLIC_ENTE_WIP_CL) console.log("render", state);
+ if (process.env.NEXT_PUBLIC_ENTE_TRACE) console.log("render", state);
const router = useRouter();
diff --git a/web/packages/new/photos/components/gallery/reducer.ts b/web/packages/new/photos/components/gallery/reducer.ts
index b78ca9e1d3..c74b6fe4e2 100644
--- a/web/packages/new/photos/components/gallery/reducer.ts
+++ b/web/packages/new/photos/components/gallery/reducer.ts
@@ -421,7 +421,7 @@ const galleryReducer: React.Reducer<GalleryState, GalleryAction> = (
state,
action,
) => {
- if (process.env.NEXT_PUBLIC_ENTE_WIP_CL) console.log("dispatch", action);
+ if (process.env.NEXT_PUBLIC_ENTE_TRACE) console.log("dispatch", action);
switch (action.type) {
case "mount": {
const [hiddenCollections, collections] = splitByPredicate(