A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
cleanup unnecessary effect
ammarahm-ed10af0f2d59ed
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.jsindex 6a66df4e0..270cd2e36 100755--- a/apps/mobile/src/views/Editor/index.js+++ b/apps/mobile/src/views/Editor/index.js@@ -1,8 +1,8 @@-import React, { useEffect } from 'react';-import {Platform, TextInput, View} from 'react-native';+import React from 'react';+import { Platform, TextInput, View } from 'react-native';import WebView from 'react-native-webview';import { notesnook } from '../../../e2e/test.ids';-import {useTracked} from '../../provider';+import { useTracked } from '../../provider';import EditorHeader from './EditorHeader';import {EditorWebView,@@ -11,16 +11,13 @@ import {sourceUri,textInput,_onMessage,- _onShouldStartLoadWithRequest,+ _onShouldStartLoadWithRequest} from './Functions';const Editor = () => {const [state] = useTracked();const {colors, premiumUser} = state;- useEffect(() => {- console.log('rendering editor');- })return (<><TextInput