Skip to content

Commit 374a29e

Browse files
authored
Update createSlice.md
1 parent ef3d8fc commit 374a29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/createSlice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A function that accepts an initial state, an object full of reducer functions, a
1414
`createSlice` accepts a single configuration object parameter, with the following options:
1515

1616
```ts
17-
function configureStore({
17+
function createSlice({
1818
// An object of "case reducers". Key names will be used to generate actions.
1919
reducers: Object<string, ReducerFunction>
2020
// The initial state for the reducer

0 commit comments

Comments
 (0)