Remove duplicate method
This commit is contained in:
parent
57e415f5c9
commit
61a7d2cbbb
3 changed files with 2 additions and 5 deletions
|
@ -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 {
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
export function runningInBrowser() {
|
||||
return typeof window !== 'undefined';
|
||||
}
|
Loading…
Add table
Reference in a new issue