Skip to content

Commit

Permalink
πŸ“ Add comma at action listener example
Browse files Browse the repository at this point in the history
Add a comma at the action listener example of the quick start guide (quick-start.md)
  • Loading branch information
rubxdev authored and ctrlplusb committed Sep 12, 2019
1 parent 52a8561 commit 5963568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const auditModel = {
logs: [],
onAddedToBasket: actionOn(
// targetResolver function receives actions and resolves the targets:
(actions, storeActions) => storeActions.basket.addProduct
(actions, storeActions) => storeActions.basket.addProduct,
// action handler that executes when target is executed:
(state, target) => {
state.logs(`Added product ${target.payload} to basket`);
Expand Down

0 comments on commit 5963568

Please sign in to comment.