Skip to content

Commit

Permalink
re-add addEventListener call
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Jan 19, 2024
1 parent 7d8115b commit 8f278e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/toolkit/src/createAsyncThunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ export const createAsyncThunk = /* @__PURE__ */ (() => {
message: abortReason || 'Aborted',
})
}
abortController.signal.addEventListener('abort', abortHandler)
})
dispatch(
pending(
Expand Down

0 comments on commit 8f278e8

Please sign in to comment.