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 when note is saved (only mobile)
thecodrrd4c63f166af1
diff --git a/apps/web/src/components/editor/header.js b/apps/web/src/components/editor/header.jsindex 55cdc96c0..c06ccd7d3 100644--- a/apps/web/src/components/editor/header.js+++ b/apps/web/src/components/editor/header.js@@ -7,6 +7,7 @@ import TitleBox from "./title-box";import { useStore, SESSION_STATES } from "../../stores/editor-store";import { timeConverter } from "../../utils/time";import { countWords } from "../../utils/string";+import { showToast } from "../../utils/toast";const TextSeperator = () => {return (@@ -45,7 +46,10 @@ function Header() {display: ["block", "none", "none"],}}size={30}- onClick={() => clearSession()}+ onClick={() => {+ clearSession();+ showToast("success", "Note saved!");+ }}/><TitleBoxshouldFocus={sessionState === SESSION_STATES.new}