diff --git a/src/components/WarningDialog.tsx b/src/components/WarningDialog.tsx index 96ed5753e..84db25fa5 100644 --- a/src/components/WarningDialog.tsx +++ b/src/components/WarningDialog.tsx @@ -13,6 +13,7 @@ interface WarningDialogProps extends Omit { mode?: keyof typeof WarningDialogMode continueText: string forceOpen?: boolean + disableOnContinue?: boolean } export interface WarningDialogRef extends DialogRef {} @@ -24,6 +25,7 @@ export const WarningDialog = forwardRef( continueText, mode = WarningDialogMode.danger, forceOpen = false, + disableOnContinue = false, ...props }: WarningDialogProps, ref, @@ -41,6 +43,7 @@ export const WarningDialog = forwardRef( {translate('text_6244277fe0975300fe3fb94a')}