diff --git a/components/modal/shared.tsx b/components/modal/shared.tsx index 4f998c49cd..4b7f5de888 100644 --- a/components/modal/shared.tsx +++ b/components/modal/shared.tsx @@ -2,7 +2,6 @@ import CloseOutlined from '@ant-design/icons/CloseOutlined'; import React from 'react'; import Button from '../button'; import { convertLegacyProps } from '../button/button'; -import { DisabledContextProvider } from '../config-provider/DisabledContext'; import { useLocale } from '../locale'; import type { ModalProps } from './interface'; import { getConfirmLocale } from './locale'; @@ -47,18 +46,19 @@ export const Footer: React.FC< const [locale] = useLocale('Modal', getConfirmLocale()); return ( - - - + ); };