diff --git a/components/form/Form.tsx b/components/form/Form.tsx index f0e3743e10..4102eac394 100644 --- a/components/form/Form.tsx +++ b/components/form/Form.tsx @@ -8,7 +8,7 @@ import type { Options } from 'scroll-into-view-if-needed'; import { ConfigContext } from '../config-provider'; import DisabledContext, { DisabledContextProvider } from '../config-provider/DisabledContext'; import type { SizeType } from '../config-provider/SizeContext'; -import { SizeContextProvider } from '../config-provider/SizeContext'; +import SizeContext from '../config-provider/SizeContext'; import useSize from '../config-provider/hooks/useSize'; import type { ColProps } from '../grid/col'; import type { FormContextProps } from './context'; @@ -179,7 +179,7 @@ const InternalForm: React.ForwardRefRenderFunction = (p return wrapSSR( - + = (p /> - + , ); };