refactor at app.js to remove troublesome console.log()
This commit is contained in:
parent
1721509ce4
commit
aeaa417a4e
|
@ -8,10 +8,7 @@ import {module} from '../module';
|
|||
*/
|
||||
export default class App {
|
||||
show(message) {
|
||||
if (this.snackbar)
|
||||
this.snackbar.show({message: message});
|
||||
else
|
||||
console.log(message);
|
||||
if (this.snackbar) this.snackbar.show({message: message});
|
||||
}
|
||||
showMessage(message) {
|
||||
this.show(message);
|
||||
|
|
Loading…
Reference in New Issue