Fix opening manga page from chapter transition page
Regression f5642af219
This commit is contained in:
@@ -36,6 +36,7 @@ import { useNavBarContext } from '@/modules/navigation-bar/contexts/NavbarContex
|
|||||||
import { AppRoutes } from '@/modules/core/AppRoute.constants.ts';
|
import { AppRoutes } from '@/modules/core/AppRoute.constants.ts';
|
||||||
import { NavbarContextType } from '@/modules/navigation-bar/NavigationBar.types.ts';
|
import { NavbarContextType } from '@/modules/navigation-bar/NavigationBar.types.ts';
|
||||||
import { withPropsFrom } from '@/modules/core/hoc/withPropsFrom.tsx';
|
import { withPropsFrom } from '@/modules/core/hoc/withPropsFrom.tsx';
|
||||||
|
import { useReaderStateMangaContext } from '@/modules/reader/contexts/state/ReaderStateMangaContext.tsx';
|
||||||
|
|
||||||
const ChapterInfo = ({
|
const ChapterInfo = ({
|
||||||
title,
|
title,
|
||||||
@@ -206,7 +207,7 @@ const BaseReaderTransitionPage = ({
|
|||||||
|
|
||||||
export const ReaderTransitionPage = withPropsFrom(
|
export const ReaderTransitionPage = withPropsFrom(
|
||||||
memo(BaseReaderTransitionPage),
|
memo(BaseReaderTransitionPage),
|
||||||
[useReaderStateChaptersContext, useReaderScrollbarContext, useNavBarContext],
|
[useReaderStateMangaContext, useReaderStateChaptersContext, useReaderScrollbarContext, useNavBarContext],
|
||||||
[
|
[
|
||||||
'manga',
|
'manga',
|
||||||
'currentChapter',
|
'currentChapter',
|
||||||
|
|||||||
Reference in New Issue
Block a user