From a2bb2c2b5ca9185ba0291ac0f737f9e513e421fd Mon Sep 17 00:00:00 2001 From: Mikhail Mikheev Date: Wed, 18 Sep 2019 13:50:39 +0400 Subject: [PATCH] Add safe button handler in sidebar --- src/components/Sidebar/index.jsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/Sidebar/index.jsx b/src/components/Sidebar/index.jsx index 0d5c1d1b..004f6677 100644 --- a/src/components/Sidebar/index.jsx +++ b/src/components/Sidebar/index.jsx @@ -8,6 +8,7 @@ import Drawer from '@material-ui/core/Drawer' import SearchIcon from '@material-ui/icons/Search' import Divider from '~/components/layout/Divider' import Button from '~/components/layout/Button' +import Link from '~/components/layout/Link' import Spacer from '~/components/Spacer' import Hairline from '~/components/layout/Hairline' import Row from '~/components/layout/Row' @@ -15,6 +16,7 @@ import { type Safe } from '~/routes/safe/store/models/safe' import { safesListSelector } from '~/routes/safeList/store/selectors' import useSidebarStyles from './style' import SafeList from './SafeList' +import { WELCOME_ADDRESS } from '~/routes/routes' const { useState } = React @@ -94,7 +96,15 @@ const Sidebar = ({ children, safes }: SidebarProps) => { -