diff --git a/projects/ngrx.io/content/guide/entity/adapter.md b/projects/ngrx.io/content/guide/entity/adapter.md
index 2165880a68..21412525a4 100644
--- a/projects/ngrx.io/content/guide/entity/adapter.md
+++ b/projects/ngrx.io/content/guide/entity/adapter.md
@@ -70,11 +70,7 @@ export const initialState: State = adapter.getInitialState({
selectedUserId: null,
});
-const userReducer = createReducer(initialState);
-
-export function reducer(state: State | undefined, action: Action) {
- return userReducer(state, action);
-}
+export const userReducer = createReducer(initialState);
## Adapter Collection Methods
@@ -149,7 +145,7 @@ export const initialState: State = adapter.getInitialState({
selectedUserId: null,
});
-const userReducer = createReducer(
+export const userReducer = createReducer(
initialState,
on(UserActions.addUser, (state, { user }) => {
return adapter.addOne(user, state)
@@ -198,9 +194,6 @@ const userReducer = createReducer(
})
);
-export function reducer(state: State | undefined, action: Action) {
- return userReducer(state, action);
-}
export const getSelectedUserId = (state: State) => state.selectedUserId;
diff --git a/projects/ngrx.io/content/guide/store/reducers.md b/projects/ngrx.io/content/guide/store/reducers.md
index 00c0aef8ac..12c4dd8aae 100644
--- a/projects/ngrx.io/content/guide/store/reducers.md
+++ b/projects/ngrx.io/content/guide/store/reducers.md
@@ -69,7 +69,7 @@ The initial values for the `home` and `away` properties of the state are 0.
The reducer function's responsibility is to handle the state transitions in an immutable way. Create a reducer function that handles the actions for managing the state of the scoreboard using the `createReducer` function.