Remove logging.
This commit is contained in:
parent
d62520482a
commit
3206527d73
1 changed files with 0 additions and 3 deletions
|
@ -306,10 +306,7 @@ export default React.createClass({
|
||||||
_updateWidgetTitle(url) {
|
_updateWidgetTitle(url) {
|
||||||
this._scalarClient.getScalarPageTitle(url).then((widgetPageTitle) => {
|
this._scalarClient.getScalarPageTitle(url).then((widgetPageTitle) => {
|
||||||
if (widgetPageTitle) {
|
if (widgetPageTitle) {
|
||||||
console.log("Got page title", widgetPageTitle);
|
|
||||||
this.setState({widgetPageTitle: widgetPageTitle});
|
this.setState({widgetPageTitle: widgetPageTitle});
|
||||||
} else {
|
|
||||||
console.error("No page title");
|
|
||||||
}
|
}
|
||||||
}, (err) =>{
|
}, (err) =>{
|
||||||
console.error("Failed to get page title", err);
|
console.error("Failed to get page title", err);
|
||||||
|
|
Loading…
Reference in a new issue