Tim Glasgow
2 years ago
1 changed files with 3 additions and 6 deletions
@ -1,18 +1,15 @@ |
|||||
/** |
import React from 'react'; |
||||
* @format |
|
||||
*/ |
|
||||
|
|
||||
import {AppRegistry} from 'react-native'; |
import {AppRegistry} from 'react-native'; |
||||
import {name as appName} from './app.json'; |
import {name as appName} from './app.json'; |
||||
import SquareNotSquare from './Launcher'; |
import SquareNotSquare from './Launcher'; |
||||
import configStore from './redux/CreateStore'; |
import configStore from './redux/CreateStore'; |
||||
import { appInit } from './redux/actions/SystemActions'; |
import { appInit } from './redux/actions/SystemActions'; |
||||
|
|
||||
const squareStore = configStore(); |
const squareStore = configStore; |
||||
squareStore.dispatch(appInit()); |
squareStore.dispatch(appInit()); |
||||
|
|
||||
const ProppedContainer = () => { |
const ProppedContainer = () => { |
||||
return <SquareNotSquare {...{squareStore: squareStore}} />; |
return <SquareNotSquare {...{squareStore: squareStore}} />; |
||||
} |
}; |
||||
|
|
||||
AppRegistry.registerComponent(appName, () => ProppedContainer); |
AppRegistry.registerComponent(appName, () => ProppedContainer); |
Loading…
Reference in new issue