mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
landscape: new channel surfaces 'back' button on mobile
This commit is contained in:
parent
8a09a216c3
commit
bef97699e2
@ -168,6 +168,7 @@ export function GroupsPane(props: GroupsPaneProps) {
|
||||
<NewChannel
|
||||
{...routeProps}
|
||||
api={api}
|
||||
baseUrl={baseUrl}
|
||||
associations={associations}
|
||||
groups={groups}
|
||||
group={groupPath}
|
||||
|
@ -108,6 +108,9 @@ export function NewChannel(props: NewChannelProps & RouteComponentProps) {
|
||||
};
|
||||
return (
|
||||
<Col overflowY="auto" p={3}>
|
||||
<Box pb='3' display={['block', 'none']} onClick={() => history.push(props.baseUrl)}>
|
||||
{'<- Back'}
|
||||
</Box>
|
||||
<Box fontWeight="bold" mb={4} color="black">
|
||||
New Channel
|
||||
</Box>
|
||||
|
Loading…
Reference in New Issue
Block a user