Skip to content

Commit

Permalink
Documentation: Resolve error in data example
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Mar 12, 2018
1 parent 7829f7b commit 70f09dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ registerStore( 'my-shop', {
},

selectors: {
getPrice( item ) {
getPrice( state, item ) {
const { prices, discountPercent } = state;
const price = prices[ item ];

Expand Down

0 comments on commit 70f09dc

Please sign in to comment.