From ea84b607819f958f170a046e8c801089d274a7ee Mon Sep 17 00:00:00 2001 From: denge jbam Date: Tue, 27 Feb 2024 14:43:23 +0900 Subject: [PATCH] Revert "Disable Dashboard" --- src/layouts/Sidebar.tsx | 21 +++++++-------------- src/routes.tsx | 4 ++-- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/layouts/Sidebar.tsx b/src/layouts/Sidebar.tsx index 2c18370d..b76ac4f0 100644 --- a/src/layouts/Sidebar.tsx +++ b/src/layouts/Sidebar.tsx @@ -9,7 +9,6 @@ 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%; @@ -191,19 +190,13 @@ const Sidebar = () => { ) : (
- - close()} - aria-disabled - style={{ pointerEvents: "none", opacity: 0.5 }} - > - Dashboard - - + close()} + > + Dashboard + close()}> Swap diff --git a/src/routes.tsx b/src/routes.tsx index 9378ab38..3a356cbf 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 () => ( - {/* } /> */} + } /> } /> } /> } />