Browse Source

redux object

pull/1/head
Tim Glasgow 2 years ago
parent
commit
727226e558
  1. 9
      squarenotsquare/index.js

9
squarenotsquare/index.js

@ -1,18 +1,15 @@
/**
* @format
*/
import React from 'react';
import {AppRegistry} from 'react-native';
import {name as appName} from './app.json';
import SquareNotSquare from './Launcher';
import configStore from './redux/CreateStore';
import { appInit } from './redux/actions/SystemActions';
const squareStore = configStore();
const squareStore = configStore;
squareStore.dispatch(appInit());
const ProppedContainer = () => {
return <SquareNotSquare {...{squareStore: squareStore}} />;
}
};
AppRegistry.registerComponent(appName, () => ProppedContainer);
Loading…
Cancel
Save