Skip to content

Commit fa89c11

Browse files
committed
fix: send abortControllerRef instead of signal
1 parent 1678730 commit fa89c11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Shared/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import { Dayjs } from 'dayjs'
1818
import { ApprovalConfigDataType } from '@Common/Types'
19+
import { MutableRefObject } from 'react'
1920
import {
2021
OptionType,
2122
CommonNodeAttr,
@@ -920,7 +921,7 @@ export interface PolicyConsequencesDTO {
920921
export interface GetPolicyConsequencesProps {
921922
appId: number
922923
envId: number
923-
signal?: AbortSignal
924+
abortControllerRef?: MutableRefObject<AbortController>
924925
}
925926
export interface UploadFileDTO {
926927
id: number

0 commit comments

Comments
 (0)