Skip to content

Commit

Permalink
Remove extra query fields in showcase-details query (#21469)
Browse files Browse the repository at this point in the history
  • Loading branch information
tesseralis authored Feb 14, 2020
1 parent f8b02b8 commit 82eaf4f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions www/src/components/showcase-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ function usePrevAndNextSite(item) {
}
) {
nodes {
id
url
title
fields {
slug
Expand Down Expand Up @@ -154,7 +152,7 @@ function ShowcaseModal({ children, location }) {
modalNextLink={
<>
<Img
key={nextSite.id}
key={nextSite.fields.slug}
sx={styles.prevNextImage}
backgroundColor
fixed={{
Expand Down Expand Up @@ -197,7 +195,7 @@ function ShowcaseModal({ children, location }) {
modalPreviousLink={
<>
<Img
key={previousSite.id}
key={previousSite.fields.slug}
sx={styles.prevNextImage}
backgroundColor
fixed={{
Expand Down

0 comments on commit 82eaf4f

Please sign in to comment.