add store and Provider

This commit is contained in:
horhik 2020-03-05 15:33:25 -05:00
parent e78882e3f3
commit 621b29d879
2 changed files with 4 additions and 2 deletions

2
App.js
View File

@ -2,12 +2,10 @@ import React from 'react';
import {Provider} from 'react-redux';
import StartScreen from './src/components/start-screen';
import store from './src/store';
import Example from './src/components/example';
const App = () => {
return (
<Provider store={store}>
<StartScreen />
{/*<Example />*/}
</Provider>
);
};

View File

@ -6,6 +6,10 @@
*/
module.exports = {
getSourceExts: () => ['jsx', 'js'],
resolver: {
sourceExts: ['jsx', 'js'],
},
transformer: {
getTransformOptions: async () => ({
transform: {