Skip to content

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

fix: crash on pressing add topic button (#155)

thecodrra7f67738ed32
diff --git a/apps/web/src/views/topics.js b/apps/web/src/views/topics.js
index bbad03b60..e8ba79fda 100644
--- a/apps/web/src/views/topics.js
+++ b/apps/web/src/views/topics.js
@@ -44,7 +44,7 @@ function Topics(props) {
button={{
content: "Add more topics",
onClick: async () => {
- await showTopicDialog(props.notebook.id);
+ await showTopicDialog(notebookId);
},
}}
/>