Skip to content

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

fix: add button in editor not creating new note

ammarahm-eda5cde9a87f27
diff --git a/apps/mobile/src/views/Editor/EditorHeader.js b/apps/mobile/src/views/Editor/EditorHeader.js
index ac2ab45ea..099de0bd5 100644
--- a/apps/mobile/src/views/Editor/EditorHeader.js
+++ b/apps/mobile/src/views/Editor/EditorHeader.js
@@ -131,8 +131,6 @@ const EditorHeader = () => {
}}
top={50}
onPress={async () => {
- EditorWebView.current?.postMessage("hello world");
- return;
await loadNote({type: 'new'});
}}
/>