"View" should link to sketch

This commit is contained in:
Andrew Nicolaou 2019-11-25 10:55:26 +01:00
parent 13c45490a2
commit 1056005eb6
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ class SketchList extends React.Component {
const sketchesWithAddedStatus = this.props.sketches.map(sketch => ({
...sketch,
isAdded: this.inCollection(sketch),
url: `/${this.props.username}/sketches/${sketch.id}`,
}));
let content = null;