diff --git a/apps/readest-app/src/store/libraryStore.ts b/apps/readest-app/src/store/libraryStore.ts index 08164aec..6a6c4a7f 100644 --- a/apps/readest-app/src/store/libraryStore.ts +++ b/apps/readest-app/src/store/libraryStore.ts @@ -28,7 +28,7 @@ export const useLibraryStore = create((set, get) => ({ if (bookIndex !== -1) { library[bookIndex] = book; } - set({ library }); + set({ library: [...library] }); appService.saveLibraryBooks(library); }, }));