add store and Provider
This commit is contained in:
parent
e78882e3f3
commit
621b29d879
2 changed files with 4 additions and 2 deletions
2
App.js
2
App.js
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
*/
|
||||
|
||||
module.exports = {
|
||||
getSourceExts: () => ['jsx', 'js'],
|
||||
resolver: {
|
||||
sourceExts: ['jsx', 'js'],
|
||||
},
|
||||
transformer: {
|
||||
getTransformOptions: async () => ({
|
||||
transform: {
|
||||
|
|
Loading…
Add table
Reference in a new issue