From 7e7b25a2a8a522bd5cde1657dafef661da1d6a26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=B3=D0=B4=D0=BE=D1=80=D0=BE=D0=B2=D0=B0=20?= =?UTF-8?q?=D0=90=D0=BB=D0=B8=D0=BD=D0=B0?= <61090329+Metanka@users.noreply.github.com> Date: Sat, 2 Jan 2021 17:53:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BF=D0=B5=D1=80=D0=B5=D1=85=D0=BE=D0=B4=D1=8B?= =?UTF-8?q?=20=D0=B2=20=D0=BD=D0=B8=D0=B6=D0=BD=D0=B5=D0=B9=20=D0=BF=D0=B0?= =?UTF-8?q?=D0=BD=D0=B5=D0=BB=D0=B8=20=D0=BD=D0=B0=D0=B2=D0=B8=D0=B3=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B8=20(#44)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/both-menu/BothMenu.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/app/components/both-menu/BothMenu.tsx b/src/app/components/both-menu/BothMenu.tsx index e199b59..0ce297e 100644 --- a/src/app/components/both-menu/BothMenu.tsx +++ b/src/app/components/both-menu/BothMenu.tsx @@ -6,6 +6,8 @@ import AddIcon from '@material-ui/icons/Add'; import MoveToInboxIcon from '@material-ui/icons/MoveToInbox'; import CalendarTodayIcon from '@material-ui/icons/CalendarToday'; import ListAltIcon from '@material-ui/icons/ListAlt'; +import {NavLink} from 'react-router-dom'; +import {ROUTES} from '_consts/common'; type Props = { trigger: boolean; @@ -49,13 +51,17 @@ const BothMenu: React.FC = ({trigger}) => { edge="start" color="inherit" > - + + + - + + + = ({trigger}) => { edge="start" color="inherit" > - + + +