diff --git a/components/config-provider/index.tsx b/components/config-provider/index.tsx index abe96bd718..644ae6ec6b 100644 --- a/components/config-provider/index.tsx +++ b/components/config-provider/index.tsx @@ -1,5 +1,5 @@ import IconContext from '@ant-design/icons/lib/components/Context'; -import { FormProvider as RcFormProvider } from 'rc-field-form'; +import { FormProvider as RcFormProvider } from 'rc-field-form/lib/FormContext'; import type { ValidateMessages } from 'rc-field-form/lib/interface'; import useMemo from 'rc-util/lib/hooks/useMemo'; import * as React from 'react';