Skip to content

Commit 966d318

Browse files
committed
feat: 增加extra
1 parent f260866 commit 966d318

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Dialog/Content/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ const Content = React.forwardRef<ContentRef, ContentProps>((props, ref) => {
3737

3838
const panelRef = useRef<PanelRef>(null);
3939

40-
const hasExtra =
41-
extra !== null &&
42-
extra !== undefined &&
43-
typeof extra !== 'boolean' &&
44-
!(typeof extra === 'string' && extra.trim() === '');
45-
4640
// ============================== Refs ==============================
4741
React.useImperativeHandle(ref, () => ({
4842
...panelRef.current,

0 commit comments

Comments
 (0)