Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
rdela committed Jun 21, 2018
2 parents 9ad8edc + 68a8618 commit 02d7569
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ exports.createPages = ({ boundActionCreators, graphql }) => {
}

const artists = result.data.allArtist.edges;
artists.forEach(node => {
const path = `artists/` + node.artist.slug;
artists.forEach(({ artist }) => {
const path = `artists/` + artist.slug;
createPage({
path,
component: artistDetailPageTemplate,
Expand All @@ -51,8 +51,8 @@ exports.createPages = ({ boundActionCreators, graphql }) => {
});

const records = result.data.allRecord.edges;
records.forEach(node => {
const path = `records/` + node.record.slug;
records.forEach(({ record }) => {
const path = `records/` + record.slug;
createPage({
path,
component: recordDetailPageTemplate,
Expand All @@ -63,8 +63,8 @@ exports.createPages = ({ boundActionCreators, graphql }) => {
});

const reviews = result.data.allReview.edges;
reviews.forEach(node => {
const path = `reviews/` + node.review.slug;
reviews.forEach(({ review }) => {
const path = `reviews/` + review.slug;
createPage({
path,
component: reviewDetailPageTemplate,
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1885,7 +1885,7 @@ color-convert@^0.5.3:
version "0.5.3"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-0.5.3.tgz#bdb6c69ce660fadffe0b0007cc447e1b9f7282bd"

color-convert@^1.3.0, color-convert@^1.9.0:
color-convert@^1.3.0, color-convert@^1.9.0, color-convert@^1.9.1:
version "1.9.1"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed"
dependencies:
Expand Down

0 comments on commit 02d7569

Please sign in to comment.