Skip to content

Commit

Permalink
remove unused import value from doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphonso Tran committed Mar 27, 2023
1 parent 007bcc3 commit eee558c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/createAsyncThunk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ If a thunk was cancelled, the result of the promise will be a `rejected` action
So if you wanted to test that a thunk was cancelled before executing, you can do the following:

```ts no-transpile
import { createAsyncThunk, isRejected } from '@reduxjs/toolkit'
import { createAsyncThunk } from '@reduxjs/toolkit'

test('this thunk should always be skipped', async () => {
const thunk = createAsyncThunk(
Expand Down

0 comments on commit eee558c

Please sign in to comment.