Update dependencies

This commit is contained in:
schroda
2026-03-08 23:25:02 +01:00
parent 00d6350cee
commit f549658dfa
9 changed files with 651 additions and 591 deletions

View File

@@ -195,8 +195,7 @@ export interface IReaderSettingsManga {
export interface IReaderSettings extends IReaderSettingsGlobal, IReaderSettingsManga {}
export interface IReaderSettingsWithDefaultFlag
extends IReaderSettingsGlobal,
TransformRecordToWithDefaultFlag<IReaderSettingsManga> {}
extends IReaderSettingsGlobal, TransformRecordToWithDefaultFlag<IReaderSettingsManga> {}
export interface ReaderStateChapters {
/**
@@ -323,7 +322,8 @@ export interface ReaderStatePages {
}
export interface ReaderPagerProps
extends Pick<
extends
Pick<
ReaderStatePages,
| 'currentPageIndex'
| 'pages'

View File

@@ -39,7 +39,8 @@ import { ZustandUtil } from '@/lib/zustand/ZustandUtil.ts';
const UNSERIALIZABLE_KEYS = ['scrollRef'];
interface ReaderStore
extends ReaderOverlayStoreSlice,
extends
ReaderOverlayStoreSlice,
ReaderAutoScrollStoreSlice,
ReaderPagesStoreSlice,
ReaderChaptersStoreSlice,
@@ -151,6 +152,7 @@ const readerStore = create<ReaderStore>()(
{
name: 'ReaderStore',
anonymousActionType: 'reader/action',
// @ts-expect-error - @redux-devtools/extension config option
serialize: {
replacer: (key: string, value: any) => {
if (UNSERIALIZABLE_KEYS.includes(key)) {