You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
469 B
15 lines
469 B
2 years ago
|
import React from 'react';
|
||
|
import {AppRegistry} from 'react-native';
|
||
|
import {name as appName} from './app.json';
|
||
|
import MainComponent from './Launcher';
|
||
|
import configStore from './src/redux/CreateStore';
|
||
|
import { appInit } from './src/redux/actions/SystemActions';
|
||
|
|
||
|
const store = configStore;
|
||
|
store.dispatch(appInit());
|
||
|
|
||
|
const ProppedContainer = () => {
|
||
|
return <MainComponent {...{store: store}} />;
|
||
|
};
|
||
|
|
||
|
AppRegistry.registerComponent(appName, () => ProppedContainer);
|