Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

do not init jsdom on app startup

ammarahm-ed9f8459e2b4ed
diff --git a/apps/mobile/index.js b/apps/mobile/index.js
index 5f0b3911a..546c4e59e 100644
--- a/apps/mobile/index.js
+++ b/apps/mobile/index.js
@@ -4,9 +4,7 @@ import {AppRegistry, Platform} from 'react-native';
import {name as appName} from './app.json';
import {enableScreens} from 'react-native-screens';
import Notifications from './src/services/Notifications';
-import jsdom from 'jsdom-jscore-rn';
import {SafeAreaProvider} from 'react-native-safe-area-context';
-global.HTMLParser = jsdom.html();
global.Buffer = require('buffer').Buffer;
enableScreens(true);