Browse Source

index redux store setup

pull/1/head
Tim Glasgow 2 years ago
parent
commit
995f742ee1
  1. 11
      squarenotsquare/index.js

11
squarenotsquare/index.js

@ -3,7 +3,14 @@
*/
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
import SquareNotSquare from './Launcher';
import configStore from './redux/CreateStore';
AppRegistry.registerComponent(appName, () => App);
const squareStore = configStore();
const ProppedContainer = () => {
return <SquareNotSquare {...{squareStore: squareStore}} />;
}
AppRegistry.registerComponent(appName, () => ProppedContainer);
Loading…
Cancel
Save