From 82723ce2311344c6dee83166352e605d7c6b2472 Mon Sep 17 00:00:00 2001 From: Thomas Tuts Date: Sun, 6 Nov 2016 21:46:11 +0100 Subject: [PATCH] Add missing ViewerQueries headstart code --- branch-step-02/src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/branch-step-02/src/index.js b/branch-step-02/src/index.js index 580c4dc..a8dc4c0 100755 --- a/branch-step-02/src/index.js +++ b/branch-step-02/src/index.js @@ -10,6 +10,8 @@ Relay.injectNetworkLayer( new Relay.DefaultNetworkLayer('https://api.graph.cool/relay/v1/__PROJECT_ID__') ) +const ViewerQueries = { viewer: () => Relay.QL`query { viewer }` } + ReactDOM.render(