Skip to content

Commit e85b1e6

Browse files
committed
chore: rm useless code
1 parent af50171 commit e85b1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Preview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ const Preview: React.FC<PreviewProps> = props => {
388388
}
389389

390390
return (
391-
<Portal open={portalRender} getContainer={getContainer ?? document.body} autoLock={lockScroll}>
391+
<Portal open={portalRender} getContainer={getContainer} autoLock={lockScroll}>
392392
<CSSMotion
393393
motionName={motionName}
394394
visible={portalRender && open}

0 commit comments

Comments
 (0)