Skip to content

Commit d452a29

Browse files
authored
Update docs (#4168)
1 parent 23f5bdf commit d452a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/WritingTests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Because reducers are pure functions, testing them should be straightforward. Cal
102102
#### Example
103103

104104
```js
105-
import { createReducer } from '@reduxjs/toolkit'
105+
import { createSlice } from '@reduxjs/toolkit'
106106

107107
const initialState = [
108108
{

0 commit comments

Comments
 (0)