Skip to content

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

fix: make a new note button not working

thecodrr93a22839b39c
diff --git a/apps/web/src/components/editor/-placeholder.js b/apps/web/src/components/editor/-placeholder.js
index d9068df56..114ac8d1c 100644
--- a/apps/web/src/components/editor/-placeholder.js
+++ b/apps/web/src/components/editor/-placeholder.js
@@ -27,7 +27,9 @@ function EditorPlaceholder() {
justifyContent: "center",
}}
variant="tool"
- onClick={() => hashNavigate("")}
+ onClick={() =>
+ hashNavigate("/notes/create", { addNonce: true, replace: true })
+ }
>
<Icon.Plus size={18} color="primary" />
<Text ml={1}>Make a new note</Text>