Skip to content

Commit c749cfa

Browse files
committed
feat: 增加extra
1 parent 5e00102 commit c749cfa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Dialog/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ const Dialog: React.FC<IDialogPropTypes> = (props) => {
5656
}
5757
}
5858

59-
const hasExtra =
60-
extra !== null &&
61-
extra !== undefined &&
62-
typeof extra !== 'boolean' &&
63-
!(typeof extra === 'string' && extra.trim() === '');
64-
6559
const lastOutSideActiveElementRef = useRef<HTMLElement>(null);
6660
const wrapperRef = useRef<HTMLDivElement>(null);
6761
const contentRef = useRef<ContentRef>(null);

0 commit comments

Comments
 (0)