Make sidebar avatar keyboard-clickable. (#921)
parent
97f0d3431c
commit
6768e3ff71
|
@ -40,7 +40,10 @@ import {router} from '../../../routes'
|
|||
const ProfileCard = observer(() => {
|
||||
const store = useStores()
|
||||
return (
|
||||
<Link href={`/profile/${store.me.handle}`} style={styles.profileCard}>
|
||||
<Link
|
||||
href={`/profile/${store.me.handle}`}
|
||||
style={styles.profileCard}
|
||||
asAnchor>
|
||||
<UserAvatar avatar={store.me.avatar} size={64} />
|
||||
</Link>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue