A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
feat: add toast for topic edit
thecodrree83f65bacff
diff --git a/apps/web/src/components/dialogs/topicdialog.js b/apps/web/src/components/dialogs/topicdialog.jsindex b19150245..c0af3ab0a 100644--- a/apps/web/src/components/dialogs/topicdialog.js+++ b/apps/web/src/components/dialogs/topicdialog.js@@ -5,6 +5,7 @@ import * as Icon from "../icons";import { db } from "../../common";import Dialog, { showDialog } from "./dialog";import { store } from "../../stores/notebook-store";+import { showToast } from "../../utils/toast";function TopicDialog(props) {const ref = useRef();@@ -65,6 +66,7 @@ export function showEditTopicDialog(topic) {.notebook(topic.notebookId).topics.add({ ...topic, title: t });store.setSelectedNotebookTopics(topic.notebookId);+ showToast("success", "Topic edited successfully!");perform(true);}}/>