Fix/remove deprecated routes (#747)

* Route to "/" in case path is unknown

* Remove deprecated routes

"sources" and "extensions" were merged into "browse" but the routes were never removed, thus, the paths still matched and opened the components
This commit is contained in:
schroda
2024-04-14 18:08:15 +02:00
committed by GitHub
parent 6276da42cf
commit 8178574815
3 changed files with 4 additions and 6 deletions

View File

@@ -225,7 +225,7 @@ export function SourceMangas() {
clearCache: boolean;
}>().state ?? {};
useSetDefaultBackTo('sources');
useSetDefaultBackTo('browse');
const [isFirstRender, setIsFirstRender] = useState(true);