redux should work
This commit is contained in:
20
src/App.js
20
src/App.js
@@ -1,14 +1,18 @@
|
||||
import React from 'react';
|
||||
import Boxes from './boxes/Boxes'
|
||||
import styles from './App.module.css'
|
||||
import React from "react";
|
||||
import { Provider } from "react-redux";
|
||||
import Boxes from "./boxes/Boxes";
|
||||
import styles from "./App.module.css";
|
||||
import setupStore from "./store/setupStore.js";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className={styles.grid}>
|
||||
<Boxes sectionName={'What Went Well'} />
|
||||
<Boxes sectionName={'What Could Be Better'} />
|
||||
<Boxes sectionName={'Questions'} />
|
||||
</div>
|
||||
<Provider store={setupStore()}>
|
||||
<div className={styles.grid}>
|
||||
<Boxes sectionName={"What Went Well"} />
|
||||
<Boxes sectionName={"What Could Be Better"} />
|
||||
<Boxes sectionName={"Questions"} />
|
||||
</div>
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user