Skip to content

Commit

Permalink
docs: add props import to reducer example (ngrx#2247)
Browse files Browse the repository at this point in the history
Closes ngrx#2233
  • Loading branch information
acb14js authored and jordanpowell88 committed Nov 14, 2019
1 parent aa086e1 commit 5a9e6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngrx.io/content/guide/store/reducers.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and the associated reducer function.
First, define some actions for interacting with a piece of state.

<code-example header="scoreboard-page.actions.ts">
import { createAction } from '@ngrx/store';
import { createAction, props } from '@ngrx/store';

export const homeScore = createAction('[Scoreboard Page] Home Score');
export const awayScore = createAction('[Scoreboard Page] Away Score');
Expand Down

0 comments on commit 5a9e6b1

Please sign in to comment.