mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-25 00:49:32 +02:00
feat: Split string
This commit is contained in:
@@ -2,6 +2,7 @@ import {RouteObject} from "react-router-dom";
|
||||
import {Navigate} from "react-router-dom";
|
||||
import {ImagesConfig} from "../pages/images/ImagesConfig";
|
||||
import {lazy} from "react";
|
||||
import {StringConfig} from "../pages/string/StringConfig";
|
||||
|
||||
const Home = lazy(() => import("../pages/home"));
|
||||
|
||||
@@ -14,6 +15,10 @@ const routes: RouteObject[] = [
|
||||
path: "images",
|
||||
children: ImagesConfig
|
||||
},
|
||||
{
|
||||
path: "string",
|
||||
children: StringConfig
|
||||
},
|
||||
{
|
||||
path: "*",
|
||||
element: <Navigate to="404"/>,
|
||||
|
Reference in New Issue
Block a user