remove redundant '/manga' prefix from paths
We needed the prefix to distinguish anime paths from manga paths, now that anime is no more, the redundancy shall be purged.
This commit is contained in:
@@ -127,7 +127,7 @@ export default function App() {
|
|||||||
<Route path="/sources/:sourceId/search/">
|
<Route path="/sources/:sourceId/search/">
|
||||||
<SearchSingle />
|
<SearchSingle />
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/manga/extensions">
|
<Route path="/extensions">
|
||||||
<MangaExtensions />
|
<MangaExtensions />
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/sources/:sourceId/popular/">
|
<Route path="/sources/:sourceId/popular/">
|
||||||
@@ -139,10 +139,10 @@ export default function App() {
|
|||||||
<Route path="/sources/:sourceId/configure/">
|
<Route path="/sources/:sourceId/configure/">
|
||||||
<SourceConfigure />
|
<SourceConfigure />
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/manga/sources">
|
<Route path="/sources">
|
||||||
<MangaSources />
|
<MangaSources />
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/manga/downloads">
|
<Route path="/downloads">
|
||||||
<DownloadQueue />
|
<DownloadQueue />
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/manga/:mangaId/chapter/:chapterNum">
|
<Route path="/manga/:mangaId/chapter/:chapterNum">
|
||||||
|
|||||||
@@ -50,15 +50,15 @@ const navbarItems: Array<NavbarItem> = [
|
|||||||
title: 'Updates',
|
title: 'Updates',
|
||||||
IconComponent: NewReleasesIcon,
|
IconComponent: NewReleasesIcon,
|
||||||
}, {
|
}, {
|
||||||
path: '/manga/extensions',
|
path: '/extensions',
|
||||||
title: 'Extensions',
|
title: 'Extensions',
|
||||||
IconComponent: ExtensionIcon,
|
IconComponent: ExtensionIcon,
|
||||||
}, {
|
}, {
|
||||||
path: '/manga/sources',
|
path: '/sources',
|
||||||
title: 'Sources',
|
title: 'Sources',
|
||||||
IconComponent: ExploreIcon,
|
IconComponent: ExploreIcon,
|
||||||
}, {
|
}, {
|
||||||
path: '/manga/downloads',
|
path: '/downloads',
|
||||||
title: 'Manga Download Queue',
|
title: 'Manga Download Queue',
|
||||||
IconComponent: GetAppIcon,
|
IconComponent: GetAppIcon,
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
12
src/screens/manga/Browse.tsx
Normal file
12
src/screens/manga/Browse.tsx
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) Contributors to the Suwayomi project
|
||||||
|
*
|
||||||
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
import React, { useContext, useEffect, useState } from 'react';
|
||||||
|
|
||||||
|
export default function Browse() {
|
||||||
|
return <h1>fek</h1>;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user