From a7f67738ed3229b252dfbc6a5fcd409ee0a19802 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Mon, 21 Sep 2020 11:51:10 +0500 Subject: [PATCH] fix: crash on pressing add topic button (#155) --- apps/web/src/views/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }, }} />