mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 20:04:35 +03:00
landscape: new channel surfaces 'back' button on mobile
This commit is contained in:
parent
8a09a216c3
commit
bef97699e2
@ -80,7 +80,7 @@ export function GroupsPane(props: GroupsPaneProps) {
|
||||
workspace={workspace}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
)
|
||||
|
||||
return (
|
||||
<Switch>
|
||||
@ -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