Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[edit] Updated content.md #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions P08-Implement-React-Redux/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

...
<PasswordList />
```

Here you imported `useSelector` from react-redux. You used this to get the list of passwords from the store with:

```JS
Expand Down Expand Up @@ -296,6 +304,7 @@ Add a button that does this within the render method:
</div>
```


## Testing your work

Clicking the 'Save' button should add a new password to the list. Doing this
Expand Down