🚧 make sketchlist route to /mobile if on mobile views

This commit is contained in:
ghalestrilo 2020-08-05 14:56:24 -03:00
parent d452ebc933
commit 9771f8fd87

View file

@ -262,6 +262,8 @@ 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}>