We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e00102 commit c749cfaCopy full SHA for c749cfa
src/Dialog/index.tsx
@@ -56,12 +56,6 @@ const Dialog: React.FC<IDialogPropTypes> = (props) => {
56
}
57
58
59
- const hasExtra =
60
- extra !== null &&
61
- extra !== undefined &&
62
- typeof extra !== 'boolean' &&
63
- !(typeof extra === 'string' && extra.trim() === '');
64
-
65
const lastOutSideActiveElementRef = useRef<HTMLElement>(null);
66
const wrapperRef = useRef<HTMLDivElement>(null);
67
const contentRef = useRef<ContentRef>(null);
0 commit comments