X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fapp%2Findex.js;h=4f37e9d62845997702d45646b0750561ebb10c55;hb=87ab0a1f3f0abebe078ba3972794627153352081;hp=e8a56e63b681f2ea5b24f4aa2d763122cbcd924c;hpb=c9ed47875647d76d5a794f69f173a1d7ac5984b0;p=alttp.git diff --git a/resources/js/components/app/index.js b/resources/js/components/app/index.js index e8a56e6..4f37e9d 100644 --- a/resources/js/components/app/index.js +++ b/resources/js/components/app/index.js @@ -2,18 +2,9 @@ import axios from 'axios'; import React, { useEffect, useState } from 'react'; import { Helmet } from 'react-helmet'; import { useTranslation } from 'react-i18next'; -import { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom'; +import { BrowserRouter } from 'react-router-dom'; -import FullLayout from './FullLayout'; -import AlttpSeed from '../pages/AlttpSeed'; -import DoorsTracker from '../pages/DoorsTracker'; -import Front from '../pages/Front'; -import Map from '../pages/Map'; -import Schedule from '../pages/Schedule'; -import Technique from '../pages/Technique'; -import Techniques from '../pages/Techniques'; -import Tournament from '../pages/Tournament'; -import User from '../pages/User'; +import Routes from './Routes'; import AlttpBaseRomProvider from '../../helpers/AlttpBaseRomContext'; import UserContext from '../../helpers/UserContext'; import i18n from '../../i18n'; @@ -68,61 +59,7 @@ const App = () => {