Skip to content

Commit 9771f8f

Browse files
committed
🚧 make sketchlist route to /mobile if on mobile views
1 parent d452ebc commit 9771f8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/modules/IDE/components/SketchList.jsx

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

265+
if (this.props.mobile) url = `/mobile${url}`;
266+
265267
const name = (
266268
<React.Fragment>
267269
<Link to={url}>

0 commit comments

Comments
 (0)