Remove duplicate method

This commit is contained in:
Neeraj Gupta 2024-01-29 13:17:54 +05:30
parent 57e415f5c9
commit 61a7d2cbbb
3 changed files with 2 additions and 5 deletions

View file

@ -1,5 +1,5 @@
import { runningInBrowser } from '@ente/shared/apps/browser';
import { getAlbumsURL, getAuthURL } from '@ente/shared/network/api';
import { runningInBrowser } from '@ente/shared/platform';
import { PAGES } from 'constants/pages';
export enum APPS {

View file

@ -1,7 +1,7 @@
import { Remote } from 'comlink';
import { DedicatedConvertWorker } from 'worker/convert.worker';
import { ComlinkWorker } from './comlinkWorker';
import { runningInBrowser } from '@ente/shared/apps/browser';
import { runningInBrowser } from '@ente/shared/platform';
class ComlinkConvertWorker {
private comlinkWorkerInstance: Remote<DedicatedConvertWorker>;

View file

@ -1,3 +0,0 @@
export function runningInBrowser() {
return typeof window !== 'undefined';
}