Fix reference to window.identity
This commit is contained in:
parent
1a25b2c6b3
commit
0b793cbc65
@ -8,7 +8,7 @@ import styles from "./AuthenticationPage.css";
|
||||
export default class AuthenticationPage extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.identity = window.identity;
|
||||
this.identity = window.netlifyIdentity;
|
||||
this.state = {user: this.identity && this.identity.gotrue && this.identity.gotrue.currentUser()};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user