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
refactor: fix all warnings
thecodrr91ead3046ab3
diff --git a/apps/web/src/components/unlock/index.js b/apps/web/src/components/unlock/index.jsindex 50510ae65..6d6d50f49 100644--- a/apps/web/src/components/unlock/index.js+++ b/apps/web/src/components/unlock/index.js@@ -4,15 +4,12 @@ import { Input } from "@rebass/forms";import * as Icon from "../icons";import { db } from "../../common";import { useStore as useEditorStore } from "../../stores/editor-store";-import { navigate } from "hookrouter";-import { setHashParam } from "../../utils/useHashParam";function Unlock(props) {const { noteId } = props;const passwordRef = useRef();const [isWrong, setIsWrong] = useState(false);const openLockedSession = useEditorStore((store) => store.openLockedSession);- const clearSession = useEditorStore((store) => store.clearSession);const submit = useCallback(async () => {const password = passwordRef.current.value;