mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 19:55:53 +03:00
interface: remove My Channels link from GroupSwitcher
Fixes urbit/landscape#1331
This commit is contained in:
parent
fb5151bf4b
commit
28ace88bd9
@ -114,7 +114,6 @@ export function GroupSwitcher(props: {
|
||||
width="100%"
|
||||
alignItems="stretch"
|
||||
>
|
||||
{(props.baseUrl === '/~landscape/home') ?
|
||||
<GroupSwitcherItem to="">
|
||||
<Icon
|
||||
mr={2}
|
||||
@ -124,16 +123,6 @@ export function GroupSwitcher(props: {
|
||||
/>
|
||||
<Text>All Groups</Text>
|
||||
</GroupSwitcherItem>
|
||||
:
|
||||
<GroupSwitcherItem to="/~landscape/home">
|
||||
<Icon
|
||||
mr={2}
|
||||
color="gray"
|
||||
display="block"
|
||||
icon="Home"
|
||||
/>
|
||||
<Text>My Channels</Text>
|
||||
</GroupSwitcherItem>}
|
||||
<RecentGroups
|
||||
recent={props.recentGroups}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user