11import { ReactElement , useMemo } from 'react'
22import { useSelector } from 'react-redux'
3+ import { Link } from 'react-router-dom'
34import styled from 'styled-components'
45import { Text , Identicon } from '@gnosis.pm/safe-react-components'
5- import { Box , Grid , Link } from '@material-ui/core'
6+ import { Box , Grid } from '@material-ui/core'
67import { Skeleton } from '@material-ui/lab'
78
89import { currentSafeLoaded , currentSafeWithNames } from 'src/logic/safe/store/selectors'
@@ -30,9 +31,7 @@ const StyledText = styled(Text)`
3031`
3132
3233const StyledLink = styled ( Link ) `
33- &:hover {
34- text-decoration: none;
35- }
34+ text-decoration: none;
3635`
3736
3837const NetworkLabelContainer = styled . div `
@@ -126,7 +125,7 @@ const Overview = (): ReactElement => {
126125
127126 < Grid container >
128127 < Grid item xs = { 3 } >
129- < StyledLink href = { assetsLink } >
128+ < StyledLink to = { assetsLink } >
130129 < Text color = "inputDefault" size = "lg" >
131130 Tokens
132131 </ Text >
@@ -135,7 +134,7 @@ const Overview = (): ReactElement => {
135134 </ Grid >
136135
137136 < Grid item xs = { 3 } >
138- < StyledLink href = { nftsLink } >
137+ < StyledLink to = { nftsLink } >
139138 < Text color = "inputDefault" size = "lg" >
140139 NFTs
141140 </ Text >
@@ -145,7 +144,7 @@ const Overview = (): ReactElement => {
145144
146145 < Grid item xs = { 6 } >
147146 < Box display = "flex" height = { 1 } alignItems = "flex-end" justifyContent = "flex-end" >
148- < StyledLink href = { assetsLink } >
147+ < StyledLink to = { assetsLink } >
149148 < Button size = "medium" variant = "contained" color = "primary" >
150149 View Assets
151150 </ Button >
0 commit comments