Skip to content

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

refactor: showTopicDialog -> showCreateTopicDialog

thecodrra68386f72535
diff --git a/apps/web/src/navigation/hash-routes.js b/apps/web/src/navigation/hash-routes.js
index 4a790f646..9da82ec62 100644
--- a/apps/web/src/navigation/hash-routes.js
+++ b/apps/web/src/navigation/hash-routes.js
@@ -21,7 +21,7 @@ import { store as editorStore } from "../stores/editor-store";
import { isMobile } from "../utils/dimensions";
import {
showEditTopicDialog,
- showTopicDialog,
+ showCreateTopicDialog,
} from "../common/dialog-controller";
import { hashNavigate } from ".";
import { Suspense } from "react";
@@ -44,7 +44,7 @@ const hashroutes = {
showEditNotebookDialog(notebookId);
},
"/topics/create": () => {
- showTopicDialog();
+ showCreateTopicDialog();
},
"/notebooks/:notebookId/topics/:topicId/edit": ({ notebookId, topicId }) => {
showEditTopicDialog(notebookId, topicId);