Save tabs number in Url to persist tab when go to other paths (#78)
* added an optional url parameter to the library path to get to a particular tab * Added Error checking when taking the parameter from the Url * Now Tabs persist with library options * FIxed a bug which made the backbutton appear in the Library route when tabs number was presents in the url
This commit is contained in:
@@ -158,7 +158,7 @@ export default function App() {
|
||||
<Route path="/manga/:id">
|
||||
<Manga />
|
||||
</Route>
|
||||
<Route path="/library">
|
||||
<Route path="/library/:tabParamNumber?">
|
||||
<Library />
|
||||
</Route>
|
||||
<Route path="/updates">
|
||||
|
||||
Reference in New Issue
Block a user