diff --git a/src/App.js b/src/App.js index 6e8c40e..a6b15b9 100644 --- a/src/App.js +++ b/src/App.js @@ -3,11 +3,10 @@ import './App.less'; import { ConnectionProvider } from './utils/connection'; import { MarketProvider } from './utils/markets'; import { WalletProvider } from './utils/wallet'; -import TradePage from './pages/TradePage'; -import BasicLayout from './components/BasicLayout'; import { GlobalStyle } from './global_style'; import { Spin } from 'antd'; import ErrorBoundary from './components/ErrorBoundary'; +import { Routes } from './routes'; export default function App() { return ( @@ -17,11 +16,9 @@ export default function App() { - - }> - - - + }> + + diff --git a/src/pages/TradePage.jsx b/src/pages/TradePage.jsx index 4aeddc9..b158be3 100644 --- a/src/pages/TradePage.jsx +++ b/src/pages/TradePage.jsx @@ -8,7 +8,6 @@ import { useMarket, useMarketsList } from '../utils/markets'; import TradeForm from '../components/TradeForm'; import { useLocalStorageState } from '../utils/utils'; import TradesTable from '../components/TradesTable'; -import { InfoCircleOutlined } from '@ant-design/icons'; const { Option } = Select; @@ -39,7 +38,6 @@ export default function TradePage() { 'submittedPassword5', false, ); - const [marketInfoVisible, setMarketInfoVisible] = useState(false); const [password, setPassword] = useState('password'); const [dimensions, setDimensions] = useState({ height: window.innerHeight, @@ -107,10 +105,6 @@ export default function TradePage() { - setMarketInfoVisible(true)} - />