fix(react/revisions): wrong selection when navigating between notes

This commit is contained in:
Elian Doran
2025-08-27 16:39:48 +03:00
parent 37e6ccdc1a
commit f0d14a966a

View File

@@ -71,6 +71,8 @@ export default function RevisionsDialog() {
onHidden={() => {
setShown(false);
setNote(undefined);
setCurrentRevision(undefined);
setRevisions(undefined);
}}
show={shown}
>