Skip to content

Commit fc48a5a

Browse files
committed
🚧 update mobile links not to include /mobile
1 parent 904e873 commit fc48a5a

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

client/modules/IDE/components/SketchList.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,6 @@ class SketchListRowBase extends React.Component {
262262
url = `/${username}/sketches/${slugify(sketch.name, '_')}`;
263263
}
264264

265-
if (this.props.mobile) url = `/mobile${url}`;
266-
267265
const name = (
268266
<React.Fragment>
269267
<Link to={url}>

client/modules/Mobile/MobileDashboardView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const MobileDashboard = ({ params, location }) => {
185185
<NavDropdown />
186186

187187
</NavItem>
188-
<IconButton to="/mobile" icon={ExitIcon} aria-label="Return to ide view" />
188+
<IconButton to="/" icon={ExitIcon} aria-label="Return to ide view" />
189189
</Header>
190190

191191

client/modules/Mobile/MobilePreferences.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const MobilePreferences = () => {
6969
<Screen fullscreen>
7070
<section>
7171
<Header transparent title="Preferences">
72-
<IconButton to="/mobile" icon={ExitIcon} aria-label="Return to ide view" />
72+
<IconButton to="/" icon={ExitIcon} aria-label="Return to ide view" />
7373
</Header>
7474
<section className="preferences">
7575
<Content>

client/modules/Mobile/MobileSketchView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const MobileSketchView = () => {
3939
return (
4040
<Screen fullscreen>
4141
<Header
42-
leftButton={<IconButton to="/mobile" icon={ExitIcon} aria-label="Return to original editor" />}
42+
leftButton={<IconButton to="/" icon={ExitIcon} aria-label="Return to original editor" />}
4343
title={projectName}
4444
/>
4545
<Content>

0 commit comments

Comments
 (0)