mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-07-09 20:09:36 +02:00
mobile: clear password error when switching locked notes
Signed-off-by: kashaf-ansari-dev <kashafansari3108@gmail.com>
This commit is contained in:
@@ -85,6 +85,9 @@ const Tiptap = ({
|
||||
undo,
|
||||
redo
|
||||
};
|
||||
useEffect(() => {
|
||||
setPasswordError(null);
|
||||
}, [tab.session?.noteId]);
|
||||
|
||||
logger("info", tabRef.current.id, "rendering");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user