Skip to content

Commit

Permalink
Fix login status not changing Sign In button (#19)
Browse files Browse the repository at this point in the history
* fix

* version
  • Loading branch information
zeusongit authored Nov 10, 2022
1 parent 67af493 commit daa7c69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dynamods/splash-screen",
"version": "1.0.1",
"version": "1.0.2",
"description": "Splash Screen maintained by Dynamo Team@Autodesk",
"author": "Autodesk Inc.",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/Static.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Static extends React.Component {

btn.classList.remove('disableButton');
btn.disabled = false;
if (ret) {
if (status) {
this.setState({ signInTitle: 'Sign Out' });
}
else {
Expand Down

0 comments on commit daa7c69

Please sign in to comment.