diff --git a/packages/core/src/components/templates/Loader/LoaderPopup.tsx b/packages/core/src/components/templates/Loader/LoaderPopup.tsx index 10ddc5ad93..a941c634f0 100644 --- a/packages/core/src/components/templates/Loader/LoaderPopup.tsx +++ b/packages/core/src/components/templates/Loader/LoaderPopup.tsx @@ -63,7 +63,6 @@ const LoaderPopup = ({ const {processItem, loading} = useLoaderListner( { disabled, - autoLeave, process, onSuccess, onError, diff --git a/packages/core/src/components/templates/Loader/types.ts b/packages/core/src/components/templates/Loader/types.ts index d95b603ef0..de306ac4f2 100644 --- a/packages/core/src/components/templates/Loader/types.ts +++ b/packages/core/src/components/templates/Loader/types.ts @@ -36,7 +36,6 @@ export enum ProcessStatus { export type ProcessOption = { disabled: boolean; - autoLeave: boolean; process: () => Promise; onSuccess: () => void; onError: () => void;