Update dependencies
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user