diff --git a/src/App.tsx b/src/App.tsx index 5f10b67fb..49e878b87 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -8,7 +8,7 @@ import { Navigate, Route, Routes, useLocation } from 'react-router-dom'; import styled, { css } from 'styled-components'; import { WagmiConfig } from 'wagmi'; -import { AppRoute, DEFAULT_TRADE_ROUTE, MarketsRoute } from '@/constants/routes'; +import { AppRoute, MarketsRoute } from '@/constants/routes'; import { AccountsProvider } from '@/hooks/useAccounts'; import { AppThemeAndColorModeProvider } from '@/hooks/useAppThemeAndColorMode'; @@ -107,7 +107,7 @@ const Content = () => { : } + element={showChainTokenPage ? : } /> {isTablet && ( @@ -126,7 +126,7 @@ const Content = () => { } /> } + element={} /> diff --git a/src/constants/routes.ts b/src/constants/routes.ts index f3a7acef0..cecd0935a 100644 --- a/src/constants/routes.ts +++ b/src/constants/routes.ts @@ -1,5 +1,3 @@ -import { DEFAULT_MARKETID } from './markets'; - export enum AppRoute { Markets = '/markets', Portfolio = '/portfolio', @@ -45,5 +43,4 @@ export enum MobileSettingsRoute { export const BASE_ROUTE = import.meta.env.VITE_ROUTER_TYPE === 'hash' ? '/#' : ''; export const TRADE_ROUTE = `${AppRoute.Trade}/:market`; -export const DEFAULT_TRADE_ROUTE = `${AppRoute.Trade}/${DEFAULT_MARKETID}`; export const DEFAULT_DOCUMENT_TITLE = 'dYdX';