Skip to content

Commit

Permalink
docs: add props import to reducer example (#2247)
Browse files Browse the repository at this point in the history
Closes #2233
  • Loading branch information
acb14js authored and brandonroberts committed Nov 12, 2019
1 parent 8ab113e commit 1343dff
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 1343dff

Please sign in to comment.