diff --git a/src/App.js b/src/App.js index 1608726..fc09aca 100644 --- a/src/App.js +++ b/src/App.js @@ -135,7 +135,7 @@ class App extends React.Component { closeDynamo() { if (chrome.webview !== undefined) { - chrome.webview.hostObjects.scriptObject.CloseWindow(this.state.isChecked); + chrome.webview.hostObjects.scriptObject.CloseWindowPreserve(this.state.isChecked); } } } diff --git a/src/Static.js b/src/Static.js index 9f504aa..f858bfe 100644 --- a/src/Static.js +++ b/src/Static.js @@ -36,8 +36,6 @@ class Static extends React.Component { window.setEnableSignInButton = this.setEnableSignInButton.bind(this); window.handleSignInStateChange = this.handleSignInStateChange.bind(this); this.handleChange = this.handleChange.bind(this) - console.log(this.state) - console.log(this.props) } componentDidMount() {