From c84303ba09f0af1e496aa0042bae93aa4797f51f Mon Sep 17 00:00:00 2001 From: Ian Rones Date: Fri, 4 Jun 2021 11:16:55 -0700 Subject: [PATCH] [edit] Updated content.md Added import PasswordList component into App.js for users to see password list after saving. --- P08-Implement-React-Redux/content.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/P08-Implement-React-Redux/content.md b/P08-Implement-React-Redux/content.md index 20d431a..d2fe214 100755 --- a/P08-Implement-React-Redux/content.md +++ b/P08-Implement-React-Redux/content.md @@ -237,6 +237,14 @@ function PasswordList() { export default PasswordList ``` +in your App component, make sure to import the Password List component so we we can see the list of passwords +```JSX +import PasswordList from './password-list'; + +... + +``` + Here you imported `useSelector` from react-redux. You used this to get the list of passwords from the store with: ```JS @@ -296,6 +304,7 @@ Add a button that does this within the render method: ``` + ## Testing your work Clicking the 'Save' button should add a new password to the list. Doing this