Skip to content

Commit 694c877

Browse files
authored
Update createSlice.mdx - import configureStore from @reduxjs/toolkit
1 parent b041c14 commit 694c877

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/createSlice.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ Result's function `getInitialState` provides access to the initial state value g
233233
## Examples
234234

235235
```ts
236-
import { createSlice, createAction } from '@reduxjs/toolkit'
236+
import { createSlice, createAction, configureStore } from '@reduxjs/toolkit'
237237
import type { PayloadAction } from '@reduxjs/toolkit'
238-
import { configureStore, combineReducers } from 'redux'
238+
import { combineReducers } from 'redux'
239239
240240
const incrementBy = createAction<number>('incrementBy')
241241
const decrementBy = createAction<number>('decrementBy')

0 commit comments

Comments
 (0)