diff --git a/src/layouts/Sidebar.tsx b/src/layouts/Sidebar.tsx index b76ac4f0..2c18370d 100644 --- a/src/layouts/Sidebar.tsx +++ b/src/layouts/Sidebar.tsx @@ -9,6 +9,7 @@ import { socialMediaList } from "constants/constants" import SocialMediaAnchor from "components/SocialMediaAnchor" import ChangeVersionButton from "components/ChangeVersionButton" import useMigration from "hooks/useMigration" +import Tooltip from "components/Tooltip" const Wrapper = styled.div<{ isOpen: boolean }>` width: 100%; @@ -190,13 +191,19 @@ const Sidebar = () => { ) : (
- close()} - > - Dashboard - + + close()} + aria-disabled + style={{ pointerEvents: "none", opacity: 0.5 }} + > + Dashboard + + close()}> Swap diff --git a/src/routes.tsx b/src/routes.tsx index 3a356cbf..9378ab38 100644 --- a/src/routes.tsx +++ b/src/routes.tsx @@ -1,12 +1,12 @@ import { Route, Routes, Navigate } from "react-router-dom" -import Dashboard from "./pages/Dashboard" +// import Dashboard from "./pages/Dashboard" import PairPage from "./pages/Dashboard/Pair" import Swap from "./pages/Swap" export default () => ( - } /> + {/* } /> */} } /> } /> } />