From a1a10a13c76ae0dd2e78c5430328498f7468c8b1 Mon Sep 17 00:00:00 2001 From: Josh Worden Date: Thu, 12 Jul 2018 14:10:23 -0500 Subject: [PATCH] add missing keys/ids --- packages/web/src/pages/index.jsx | 4 +++- packages/web/src/pages/story.jsx | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/web/src/pages/index.jsx b/packages/web/src/pages/index.jsx index 672a211..003b490 100644 --- a/packages/web/src/pages/index.jsx +++ b/packages/web/src/pages/index.jsx @@ -26,9 +26,11 @@ const STORIES = gql` title slug primaryImage { + id src } advertiser { + id name } } @@ -64,7 +66,7 @@ const Index = () => { return (
{allStories.edges.map(edge => ( - + diff --git a/packages/web/src/pages/story.jsx b/packages/web/src/pages/story.jsx index 8a5f325..03cec8b 100644 --- a/packages/web/src/pages/story.jsx +++ b/packages/web/src/pages/story.jsx @@ -15,6 +15,7 @@ const STORY = gql` teaser body primaryImage { + id src } advertiser {