Cleanup reader store slices hooks

This commit is contained in:
schroda
2026-02-21 17:33:13 +01:00
parent daeb2a4e45
commit 576cf85c38
27 changed files with 142 additions and 134 deletions

View File

@@ -247,10 +247,10 @@ export const useReaderInfiniteScrollUpdateChapter = (
) => {
const { readingMode, readingDirection, shouldUseInfiniteScroll, shouldShowTransitionPage } = useReaderSettingsStore(
(state) => ({
readingMode: state.settings.readingMode.value,
readingDirection: state.settings.readingDirection.value,
shouldUseInfiniteScroll: state.settings.shouldUseInfiniteScroll,
shouldShowTransitionPage: state.settings.shouldShowTransitionPage,
readingMode: state.readingMode.value,
readingDirection: state.readingDirection.value,
shouldUseInfiniteScroll: state.shouldUseInfiniteScroll,
shouldShowTransitionPage: state.shouldShowTransitionPage,
}),
);