Skip to content

armgit / ente

Public Imported from GitHub
0

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

remove debug logging

Abhinav8cdbe8de3385
diff --git a/apps/photos/src/components/Search/SearchBar/searchInput/index.tsx b/apps/photos/src/components/Search/SearchBar/searchInput/index.tsx
index bbc25cc99e..0029bb1e3c 100644
--- a/apps/photos/src/components/Search/SearchBar/searchInput/index.tsx
+++ b/apps/photos/src/components/Search/SearchBar/searchInput/index.tsx
@@ -34,7 +34,6 @@ import { t } from 'i18next';
import memoize from 'memoize-one';
import { LocationTagData } from 'types/entity';
import { FILE_TYPE } from 'constants/file';
-import { addLogLine } from '@ente/shared/logging';
interface Iprops {
isOpen: boolean;
@@ -70,10 +69,7 @@ export default function SearchInput(props: Iprops) {
}, []);
async function refreshDefaultOptions() {
- const t = Date.now();
- addLogLine('refreshDefaultOptions called');
const defaultOptions = await getDefaultOptions(props.files);
- addLogLine(`refreshDefaultOptions end time: ${Date.now() - t}ms`);
setDefaultOptions(defaultOptions);
}