Skip to content

Commit 7f35200

Browse files
docs(store): add missing comma to createFeature example (#4972)
1 parent 68b78ef commit 7f35200

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/store/src/feature_creator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ export function createFeature<FeatureName extends string, FeatureState>(
138138
* name: 'products',
139139
* reducer: createReducer(
140140
* initialState,
141-
* on(ProductsApiActions.loadSuccess(state, { products }) => ({
141+
* on(ProductsApiActions.loadSuccess, (state, { products }) => ({
142142
* ...state,
143143
* products,
144-
* }),
144+
* })),
145145
* ),
146146
* });
147147
*

0 commit comments

Comments
 (0)