mirror of
https://github.com/kingomarnajjar/gatsby-starter-netlify-cms.git
synced 2026-07-25 22:27:24 +10:00
Remove static keyword from handleScriptLoad
This commit is contained in:
parent
c20e5b4c04
commit
c95829edb7
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue