Make sidebar avatar keyboard-clickable. (#921)

zio/stable
Markus Amalthea Magnuson 2023-07-02 22:07:39 +02:00 committed by GitHub
parent 97f0d3431c
commit 6768e3ff71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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>
)