From 4edd5eea6a9b11d3aaabcc41c52cde3812475c41 Mon Sep 17 00:00:00 2001 From: Spencer Smith <31859630+StiX1919@users.noreply.github.com> Date: Thu, 19 Dec 2019 11:37:33 -0700 Subject: [PATCH] update part 1 step 3 Initially brought in hashrouter on index.js but had students put provider for redux in app. Was a little confusing for some students --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6855be9..c996786 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ Your users can now register and login, but your front end immediately forgets wh * Now open `store.js` and bring in `createStore` from `redux` and the `reducer` from `reducer.js`. * Create a store using the reducer you just brought in. * Export that store. -* Open `src/App.js` and bring in the `Provider` from `react-redux` and the `store` from `store.js`. +* Open `src/index.js` and bring in the `Provider` from `react-redux` and the `store` from `store.js`. * Wrap the `Provider` component around the `HashRouter` component. * Pass the `store` to the `Provider`. * Go to Nav and bring in connect from `react-redux`.