release: hot fix version 0.9.21 (#551)

* sync: update partial config to sync more actively

* rtl: make the order of go back/forward buttons consistent

* fix: wheel events conflict with touchpad scroll on macOS

* release: hot fix version 0.9.21
This commit is contained in:
Huang Xin
2025-03-10 03:22:47 +08:00
committed by GitHub
parent 4869b756ea
commit dfa0468d24
7 changed files with 27 additions and 18 deletions
@@ -72,7 +72,7 @@ export const useNotesSync = (bookKey: string) => {
...oldNotes.filter((oldNote) => !newNotes.some((newNote) => newNote.id === oldNote.id)),
...newNotes.map(processNewNote),
];
setConfig(bookKey, { ...config, booknotes: mergedNotes });
setConfig(bookKey, { booknotes: mergedNotes });
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [syncedNotes]);