about summary refs log tree commit diff
path: root/src/view/shell/desktop/LeftNav.tsx
diff options
context:
space:
mode:
authorMarkus Amalthea Magnuson <markus@polyscopic.works>2023-07-02 22:07:39 +0200
committerGitHub <noreply@github.com>2023-07-02 15:07:39 -0500
commit6768e3ff7177ba1e635284da2808b5165c16c1b1 (patch)
tree6ed3445707b0e832fe330bee2a368e86c0b3dea5 /src/view/shell/desktop/LeftNav.tsx
parent97f0d3431c47bd707b02d0db63dbdf66a5de5484 (diff)
downloadvoidsky-6768e3ff7177ba1e635284da2808b5165c16c1b1.tar.zst
Make sidebar avatar keyboard-clickable. (#921)
Diffstat (limited to 'src/view/shell/desktop/LeftNav.tsx')
-rw-r--r--src/view/shell/desktop/LeftNav.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx
index 9f047418b..99fe9fc76 100644
--- a/src/view/shell/desktop/LeftNav.tsx
+++ b/src/view/shell/desktop/LeftNav.tsx
@@ -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>
   )