landscape: hotfix to cite in statusbar

This commit is contained in:
Matilde Park 2021-01-12 18:58:04 -05:00
parent cdb9353040
commit 36a5bfbf93

View File

@ -5,6 +5,7 @@ import ReconnectButton from './ReconnectButton';
import { StatusBarItem } from './StatusBarItem';
import { Sigil } from '~/logic/lib/sigil';
import useLocalState from '~/logic/state/local';
import { cite } from '~/logic/lib/util';
const StatusBar = (props) => {
const invites = [].concat(...Object.values(props.invites).map(obj => Object.values(obj)));
@ -61,7 +62,7 @@ const StatusBar = (props) => {
</StatusBarItem>
<StatusBarItem px={'2'} flexShrink='0' onClick={() => props.history.push('/~profile')}>
<Sigil ship={props.ship} size={16} color='black' classes='mix-blend-diff' icon />
<Text ml={2} display={["none", "inline"]} fontFamily="mono">~{props.ship}</Text>
<Text ml={2} display={["none", "inline"]} fontFamily="mono">{cite(props.ship)}</Text>
</StatusBarItem>
</Row>
</Box>