mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-12 16:59:08 +01:00
closes #96
This commit is contained in:
parent
23466cf853
commit
deb2ab1ff4
@ -122,9 +122,11 @@ export default function App() {
|
|||||||
</Switch>
|
</Switch>
|
||||||
</Container>
|
</Container>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route path="/manga/:mangaId/chapter/:chapterIndex">
|
<Route
|
||||||
<Reader />
|
path="/manga/:mangaId/chapter/:chapterIndex"
|
||||||
</Route>
|
// passing a key re-mounts the reader when changing chapters
|
||||||
|
render={(props:any) => <Reader key={props.match.params.chapterIndex} />}
|
||||||
|
/>
|
||||||
</Switch>
|
</Switch>
|
||||||
</NavbarContext.Provider>
|
</NavbarContext.Provider>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user