Skip to content

Commit 8f278e8

Browse files
authored
re-add addEventListener call
1 parent 7d8115b commit 8f278e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/toolkit/src/createAsyncThunk.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ export const createAsyncThunk = /* @__PURE__ */ (() => {
608608
message: abortReason || 'Aborted',
609609
})
610610
}
611+
abortController.signal.addEventListener('abort', abortHandler)
611612
})
612613
dispatch(
613614
pending(

0 commit comments

Comments
 (0)