Fix bad references in account switcher (#1999)
This commit is contained in:
parent
486fb72798
commit
3007c1dc8a
1 changed files with 2 additions and 2 deletions
|
@ -45,10 +45,10 @@ function SwitchAccountCard({account}: {account: SessionAccount}) {
|
||||||
</View>
|
</View>
|
||||||
<View style={[s.flex1]}>
|
<View style={[s.flex1]}>
|
||||||
<Text type="md-bold" style={pal.text} numberOfLines={1}>
|
<Text type="md-bold" style={pal.text} numberOfLines={1}>
|
||||||
{profile?.displayName || currentAccount?.handle}
|
{profile?.displayName || account?.handle}
|
||||||
</Text>
|
</Text>
|
||||||
<Text type="sm" style={pal.textLight} numberOfLines={1}>
|
<Text type="sm" style={pal.textLight} numberOfLines={1}>
|
||||||
{currentAccount?.handle}
|
{account?.handle}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue