diff --git a/pkg/interface/src/views/apps/dojo/app.js b/pkg/interface/src/views/apps/dojo/app.js index 3c4c5a6ee..a16a262f3 100644 --- a/pkg/interface/src/views/apps/dojo/app.js +++ b/pkg/interface/src/views/apps/dojo/app.js @@ -20,7 +20,6 @@ export default class DojoApp extends Component { this.store.setStateHandler(this.setState.bind(this)); this.state = this.store.state; - this.resetControllers(); } resetControllers() { @@ -29,6 +28,7 @@ export default class DojoApp extends Component { } componentDidMount() { + this.resetControllers(); const channel = new window.channel(); this.api = new Api(this.props.ship, channel); this.store.api = this.api;