diff --git a/src/App.tsx b/src/App.tsx index a0823b22..f616118a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,27 +3,10 @@ import { BrowserRouter as Router, Route, Routes } from "react-router-dom"; import LandingPage from "./pages/landing/LandingPage"; import PoolsPage from "./pages/pools/PoolsPage"; -import StakePage from "./pages/stake/StakePage"; -import LitepaperPage from "./pages/litepaper/LitepaperPage"; -import ClaimPage from "./pages/claim/ClaimPage"; import PoolPage from "./pages/pool/PoolPage"; import NotFoundPage from "./pages/not-found/NotFoundPage"; -import ActionsPage from "./pages/actions/ActionsPage"; -import ActionRegister from "./pages/actions/register/ActionRegister"; -import ActionsIndex from "./pages/actions/ActionsIndex"; -import ActionRegisterIndex from "./pages/actions/register/ActionRegisterIndex"; -import RegisterTopup from "./pages/actions/register/topup/RegisterTopup"; -import TopupPoolDeposit from "./pages/actions/register/topup/TopupPoolDeposit"; -import TopupConditions from "./pages/actions/register/topup/TopupConditions"; -import TopupPool from "./pages/actions/register/topup/TopupPool"; -import TopupLoan from "./pages/actions/register/topup/TopupLoan"; import Layout from "./Layout"; -import MeroPage from "./pages/mero/MeroPage"; -import { DEBT_REPAYMENT_ACTION_ROUTE, STAKING_LIVE, TOPUP_ACTION_ROUTE } from "./lib/constants"; -import CareersPage from "./pages/careers/CareersPage"; -import CareerPage from "./pages/careers/CareerPage"; import PoolMigrationPage from "./pages/pool-migration/PoolMigrationPage"; -import DebtRepaymentPool from "./pages/actions/register/topup/DebtRepaymentPool"; import PrivacyPolicyPage from "./pages/privacy-policy/PrivacyPolicyPage"; import TermsOfServicePage from "./pages/terms-of-service/TermsOfService"; @@ -36,63 +19,9 @@ const App = (): JSX.Element => { } /> } /> } /> - }> - }> - } /> - }> - } - /> - - } - /> - } - /> - } /> - - }> - - } - /> - - } - /> - } - /> - } /> - - - } /> - - {STAKING_LIVE && } />} - {STAKING_LIVE && } />} - {STAKING_LIVE && } />} - } /> } /> } /> } /> - } /> - } /> } /> diff --git a/src/Layout.tsx b/src/Layout.tsx index 64574fd5..20af316f 100644 --- a/src/Layout.tsx +++ b/src/Layout.tsx @@ -16,7 +16,6 @@ import MockSigner from "./lib/mock/signer"; import Footer from "./components/Footer"; import ErrorAlert from "./components/ErrorAlert"; import { MeroError } from "./app/errors"; -import RegionPopup from "./components/RegionPopup"; const Background = styled.div` background: radial-gradient(rgba(11, 3, 60, 0.2), rgba(10, 5, 38, 0.3)); @@ -91,7 +90,6 @@ const Layout = (): JSX.Element => {