Skip to content

Commit

Permalink
update sign in button loading status conditions (#2230)
Browse files Browse the repository at this point in the history
* update sign in button loading status conditions
  • Loading branch information
CollinBeczak authored Jan 9, 2024
1 parent 50a02ab commit 0d3702e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/components/SignInButton/SignInButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ export class SignInButton extends Component {
verifyingToken: false
}

componentDidMount = () => {
const storedState = localStorage.getItem('state');

if (storedState) {
this.setState({ clicked: true })
}
}

handleSignin = () => {
//clear stale locks in localStorage
localStorage.clear();
Expand Down

0 comments on commit 0d3702e

Please sign in to comment.