Skip to content

Adjust reducer so new Todo.id is 4 not 1#14

Open
jayjohnston-devops wants to merge 1 commit into
LinkedInLearning:02_Solutionfrom
jayjohnston-devops:02_Solution_minor_fix
Open

Adjust reducer so new Todo.id is 4 not 1#14
jayjohnston-devops wants to merge 1 commit into
LinkedInLearning:02_Solutionfrom
jayjohnston-devops:02_Solution_minor_fix

Conversation

@jayjohnston-devops
Copy link
Copy Markdown

The reducer in the solution has the comparison backwards. To produce "4" as the next id instead of "1", switch them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant