|
|
@ -13,6 +13,7 @@ const CreateTeamPage = lazy(() => import("./pages/CreateTeamPage.tsx"))
|
|
|
|
const TeamPanelPage = lazy(() => import("./pages/TeamPanel.tsx"))
|
|
|
|
const TeamPanelPage = lazy(() => import("./pages/TeamPanel.tsx"))
|
|
|
|
const NewTacticPage = lazy(() => import("./pages/NewTacticPage.tsx"))
|
|
|
|
const NewTacticPage = lazy(() => import("./pages/NewTacticPage.tsx"))
|
|
|
|
const Editor = lazy(() => import("./pages/Editor.tsx"))
|
|
|
|
const Editor = lazy(() => import("./pages/Editor.tsx"))
|
|
|
|
|
|
|
|
const Settings = lazy(() => import("./pages/Settings.tsx"))
|
|
|
|
|
|
|
|
|
|
|
|
export default function App() {
|
|
|
|
export default function App() {
|
|
|
|
function suspense(node: ReactNode) {
|
|
|
|
function suspense(node: ReactNode) {
|
|
|
@ -42,6 +43,11 @@ export default function App() {
|
|
|
|
element={suspense(<HomePage />)}
|
|
|
|
element={suspense(<HomePage />)}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Route
|
|
|
|
|
|
|
|
path={"/settings"}
|
|
|
|
|
|
|
|
element={suspense(<Settings/>)}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<Route
|
|
|
|
<Route
|
|
|
|
path={"/team/new"}
|
|
|
|
path={"/team/new"}
|
|
|
|
element={suspense(<CreateTeamPage />)}
|
|
|
|
element={suspense(<CreateTeamPage />)}
|
|
|
|