🚧 make sketchlist route to /mobile if on mobile views
This commit is contained in:
parent
d452ebc933
commit
9771f8fd87
1 changed files with 2 additions and 0 deletions
|
@ -262,6 +262,8 @@ class SketchListRowBase extends React.Component {
|
||||||
url = `/${username}/sketches/${slugify(sketch.name, '_')}`;
|
url = `/${username}/sketches/${slugify(sketch.name, '_')}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.props.mobile) url = `/mobile${url}`;
|
||||||
|
|
||||||
const name = (
|
const name = (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Link to={url}>
|
<Link to={url}>
|
||||||
|
|
Loading…
Reference in a new issue