feat: move nwc to settings

This commit is contained in:
2024-01-15 15:33:05 +07:00
parent 3f1218e7bc
commit 3301af5cbb
18 changed files with 378 additions and 448 deletions

View File

@@ -35,13 +35,6 @@ export default function Router() {
return { Component: HomeScreen };
},
},
{
path: "nwc",
async lazy() {
const { NWCScreen } = await import("./routes/nwc");
return { Component: NWCScreen };
},
},
{
path: "settings",
element: <SettingsLayout />,
@@ -100,6 +93,13 @@ export default function Router() {
return { Component: AdvancedSettingScreen };
},
},
{
path: "nwc",
async lazy() {
const { NWCScreen } = await import("./routes/settings/nwc");
return { Component: NWCScreen };
},
},
{
path: "about",
async lazy() {