From c95829edb7535b3ab0f907a26f1892947c07886f Mon Sep 17 00:00:00 2001 From: matt pham Date: Fri, 19 Jan 2018 15:12:01 -0800 Subject: [PATCH] Remove static keyword from handleScriptLoad --- src/pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.js b/src/pages/index.js index 74196a9..ee2ab2d 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -4,7 +4,7 @@ import Script from 'react-load-script'; import graphql from 'graphql'; export default class IndexPage extends React.Component { - static handleScriptLoad() { + handleScriptLoad() { if (window.netlifyIdentity) { window.netlifyIdentity.on('init', (user) => { if (!user) {