Integrate Mobile landing in the Redux app

This commit is contained in:
Ilya Daynatovich
2016-12-27 18:03:30 +02:00
committed by Lyubomir Marinov
parent 23ef0c8d9d
commit 8248b14555
9 changed files with 130 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
import { appInit } from '../actions';
import { appInit, detectPlatform } from '../actions';
import { AbstractApp } from './AbstractApp';
/**
@@ -22,6 +22,7 @@ export class App extends AbstractApp {
componentWillMount(...args) {
super.componentWillMount(...args);
this.props.store.dispatch(detectPlatform());
this.props.store.dispatch(appInit());
}