From 254aea73763d18211024e24781ce9b603e1890be Mon Sep 17 00:00:00 2001 From: Neo Date: Thu, 10 May 2018 20:09:04 +0800 Subject: [PATCH] [v2] fix gatsbygram build --- examples/gatsbygram/gatsby-browser.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/gatsbygram/gatsby-browser.js b/examples/gatsbygram/gatsby-browser.js index 481872938425e..7317ce4192231 100644 --- a/examples/gatsbygram/gatsby-browser.js +++ b/examples/gatsbygram/gatsby-browser.js @@ -1,6 +1,5 @@ -const windowWidth = window.innerWidth - exports.shouldUpdateScroll = args => { + const windowWidth = window.innerWidth // Scroll position only matters on mobile as on larger screens, we use a // modal. if (windowWidth < 750) {