Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
fix: Toggle sidebar when link is clicked (#2988)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook authored Nov 12, 2021
1 parent de2d69f commit b9be5e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/SafeListSidebar/SafeList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ export const SafeList = ({ onSafeClick }: Props): ReactElement => {

{!localSafesOnNetwork.length && !ownedSafesOnNetwork.length && (
<PlaceholderText size="lg" color="placeHolder">
<Link to={WELCOME_ROUTE}>Create or add</Link> an existing Safe on this network
<Link to={WELCOME_ROUTE} onClick={onSafeClick}>
Create or add
</Link>{' '}
an existing Safe on this network
</PlaceholderText>
)}

Expand Down

0 comments on commit b9be5e9

Please sign in to comment.