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) {