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); }, }} />