mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
parent
8e9c5ae55f
commit
0705f94f3f
@ -1,12 +1,8 @@
|
||||
import React from 'react';
|
||||
import { useLocation } from 'react-router-dom';
|
||||
import { Row, Box, Text, Icon } from '@tlon/indigo-react';
|
||||
import ReconnectButton from './ReconnectButton';
|
||||
|
||||
const StatusBar = (props) => {
|
||||
const location = useLocation();
|
||||
const atHome = Boolean(location.pathname === '/');
|
||||
|
||||
const invites = (props.invites && props.invites['/contacts'])
|
||||
? props.invites['/contacts']
|
||||
: {};
|
||||
@ -33,7 +29,6 @@ const StatusBar = (props) => {
|
||||
pt="10px"
|
||||
display={(window.location.href.includes('popout/') ? 'none' : 'flex')}>
|
||||
<Box pl={3} display="inline-block">
|
||||
{atHome ? null : (
|
||||
<Box
|
||||
style={{ cursor: 'pointer' }}
|
||||
display='inline-block'
|
||||
@ -53,7 +48,6 @@ const StatusBar = (props) => {
|
||||
width='11'
|
||||
/>
|
||||
</Box>
|
||||
)}
|
||||
<Box
|
||||
border={1}
|
||||
borderRadius={2}
|
||||
|
Loading…
Reference in New Issue
Block a user