🚧 update mobile links not to include /mobile
This commit is contained in:
parent
904e87333c
commit
fc48a5a86c
4 changed files with 3 additions and 5 deletions
|
@ -262,8 +262,6 @@ class SketchListRowBase extends React.Component {
|
|||
url = `/${username}/sketches/${slugify(sketch.name, '_')}`;
|
||||
}
|
||||
|
||||
if (this.props.mobile) url = `/mobile${url}`;
|
||||
|
||||
const name = (
|
||||
<React.Fragment>
|
||||
<Link to={url}>
|
||||
|
|
|
@ -185,7 +185,7 @@ const MobileDashboard = ({ params, location }) => {
|
|||
<NavDropdown />
|
||||
|
||||
</NavItem>
|
||||
<IconButton to="/mobile" icon={ExitIcon} aria-label="Return to ide view" />
|
||||
<IconButton to="/" icon={ExitIcon} aria-label="Return to ide view" />
|
||||
</Header>
|
||||
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ const MobilePreferences = () => {
|
|||
<Screen fullscreen>
|
||||
<section>
|
||||
<Header transparent title="Preferences">
|
||||
<IconButton to="/mobile" icon={ExitIcon} aria-label="Return to ide view" />
|
||||
<IconButton to="/" icon={ExitIcon} aria-label="Return to ide view" />
|
||||
</Header>
|
||||
<section className="preferences">
|
||||
<Content>
|
||||
|
|
|
@ -39,7 +39,7 @@ const MobileSketchView = () => {
|
|||
return (
|
||||
<Screen fullscreen>
|
||||
<Header
|
||||
leftButton={<IconButton to="/mobile" icon={ExitIcon} aria-label="Return to original editor" />}
|
||||
leftButton={<IconButton to="/" icon={ExitIcon} aria-label="Return to original editor" />}
|
||||
title={projectName}
|
||||
/>
|
||||
<Content>
|
||||
|
|
Loading…
Reference in a new issue