about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-26 15:44:08 -0600
committerGitHub <noreply@github.com>2023-11-26 13:44:08 -0800
commit3007c1dc8adff1a19d022ed8a7da4e5eeb9b4454 (patch)
treea97e434a1982d5e7248f0a284fcf2f290d8b2bc7 /src
parent486fb72798a82ac56e993437d99ad26c012cf489 (diff)
downloadvoidsky-3007c1dc8adff1a19d022ed8a7da4e5eeb9b4454.tar.zst
Fix bad references in account switcher (#1999)
Diffstat (limited to 'src')
-rw-r--r--src/view/com/modals/SwitchAccount.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/modals/SwitchAccount.tsx b/src/view/com/modals/SwitchAccount.tsx
index dab0127cc..38e1ce1e0 100644
--- a/src/view/com/modals/SwitchAccount.tsx
+++ b/src/view/com/modals/SwitchAccount.tsx
@@ -45,10 +45,10 @@ function SwitchAccountCard({account}: {account: SessionAccount}) {
       </View>
       <View style={[s.flex1]}>
         <Text type="md-bold" style={pal.text} numberOfLines={1}>
-          {profile?.displayName || currentAccount?.handle}
+          {profile?.displayName || account?.handle}
         </Text>
         <Text type="sm" style={pal.textLight} numberOfLines={1}>
-          {currentAccount?.handle}
+          {account?.handle}
         </Text>
       </View>