Skip to content

Commit 2c55af1

Browse files
committed
fix: selecting migrated notes
1 parent 57b100b commit 2c55af1

File tree

1 file changed

+2
-2
lines changed
  • src/components/NoteManager/components

1 file changed

+2
-2
lines changed

src/components/NoteManager/components/Note.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ export function Note({ note, active = false, onEditNote, onDeleteNote }: NotePro
8585

8686
setLocationParams({
8787
version: locationParams.version,
88-
selectionStart: note.original.selectionStart,
89-
selectionEnd: note.original.selectionEnd,
88+
selectionStart: note.current.selectionStart,
89+
selectionEnd: note.current.selectionEnd,
9090
});
9191
};
9292

0 commit comments

Comments
 (0)