Skip to content

Commit 905090c

Browse files
committed
chore: rm one more dom
1 parent 2d70602 commit 905090c

File tree

2 files changed

+1
-44
lines changed

2 files changed

+1
-44
lines changed

src/UniqueProvider/MotionContent.tsx

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/UniqueProvider/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import useTargetState from './useTargetState';
1414
import { isDOM } from '@rc-component/util/lib/Dom/findDOMNode';
1515
import FloatBg from './FloatBg';
1616
import classNames from 'classnames';
17-
import MotionContent from './MotionContent';
1817
import { getAlignPopupClassName } from '../util';
1918

2019
export interface UniqueProviderProps {
@@ -172,11 +171,7 @@ const UniqueProvider = ({ children }: UniqueProviderProps) => {
172171
ref={setPopupRef}
173172
portal={Portal}
174173
prefixCls={prefixCls}
175-
popup={
176-
<MotionContent prefixCls={prefixCls} key={popupId}>
177-
{options.popup}
178-
</MotionContent>
179-
}
174+
popup={options.popup}
180175
className={classNames(
181176
options.popupClassName,
182177
alignedClassName,

0 commit comments

Comments
 (0)