diff --git a/src/pages/App.tsx b/src/pages/App.tsx index 3477844850..2aa6c33bf5 100644 --- a/src/pages/App.tsx +++ b/src/pages/App.tsx @@ -5,7 +5,7 @@ import * as Sentry from '@sentry/react' import { Suspense, lazy, useEffect } from 'react' import { isMobile } from 'react-device-detect' import { AlertTriangle } from 'react-feather' -import { Navigate, Route, Routes, useLocation, useNavigate, useParams } from 'react-router-dom' +import { Navigate, Route, Routes, useLocation, useParams } from 'react-router-dom' import { useNetwork, usePrevious } from 'react-use' import { Flex, Text } from 'rebass' import styled from 'styled-components' @@ -14,7 +14,6 @@ import snow from 'assets/images/snow.png' import Popups from 'components/Announcement/Popups' import TopBanner from 'components/Announcement/Popups/TopBanner' import AppHaveUpdate from 'components/AppHaveUpdate' -import { ButtonPrimary } from 'components/Button' import ModalConfirm from 'components/ConfirmModal' import ErrorBoundary from 'components/ErrorBoundary' import Footer from 'components/Footer/Footer' @@ -46,22 +45,6 @@ import ElasticLegacyNotice from './ElasticLegacy/ElasticLegacyNotice' import Icons from './Icons' import VerifyAuth from './Verify/VerifyAuth' -// THIS IS ONLY TEMPORARY, WILL REMOVE IN NEXT VERSION -const CommingSoonModal = () => { - const navigate = useNavigate() - return ( - navigate('/')}> - - Our pools and farms will be available soon! - - navigate('/')}> - Ok - - - - ) -} - // test page for swap only through elastic const ElasticSwap = lazy(() => import('./ElasticSwap')) const SwapV2 = lazy(() => import('./SwapV2')) @@ -348,28 +331,19 @@ export default function App() { <> {/* Pools Routes */} } /> - : } - /> + } /> <> {/* Farms Routes */} } /> - : } - /> + } /> <> {/* My Pools Routes */} } /> - : } - /> + } /> <>