From 0fcd0bd209ff9354c46fc41f35acf8933ef5778d Mon Sep 17 00:00:00 2001 From: muerwre Date: Mon, 26 Nov 2018 10:23:14 +0700 Subject: [PATCH] cleanup --- src/containers/App.jsx | 3 +-- src/modules/Editor.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/containers/App.jsx b/src/containers/App.jsx index 4fae52b..503f114 100644 --- a/src/containers/App.jsx +++ b/src/containers/App.jsx @@ -115,12 +115,11 @@ export class App extends React.Component { triggerOnChange = () => { if (!this.state.editing) return; - console.log('CHANGED!'); + this.setState({ changed: true }); }; clearChanged = () => { - console.log('clearing'); this.setState({ changed: false }); }; diff --git a/src/modules/Editor.js b/src/modules/Editor.js index 3c4d00b..b922523 100644 --- a/src/modules/Editor.js +++ b/src/modules/Editor.js @@ -227,7 +227,7 @@ export class Editor { title: this.getTitle(), owner: this.owner, address: this.owner === id ? path : null, - path: path, + path, route, stickers, };