Fix bad references in account switcher (#1999)

zio/stable
Eric Bailey 2023-11-26 15:44:08 -06:00 committed by GitHub
parent 486fb72798
commit 3007c1dc8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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