Browse Source

fix: Collapse crashing of hot-reload on change (#31828)

pull/31838/head
xrkffgg 3 years ago
committed by GitHub
parent
commit
af63edb265
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/modal/ConfirmDialog.tsx

2
components/modal/ConfirmDialog.tsx

@ -104,7 +104,7 @@ const ConfirmDialog = (props: ConfirmDialogProps) => {
focusTriggerAfterClose={focusTriggerAfterClose} focusTriggerAfterClose={focusTriggerAfterClose}
> >
<div className={`${contentPrefixCls}-body-wrapper`}> <div className={`${contentPrefixCls}-body-wrapper`}>
<ConfigProvider prefixCls={rootPrefixCls}> <ConfigProvider prefixCls={rootPrefixCls} direction={direction}>
<div className={`${contentPrefixCls}-body`} style={bodyStyle}> <div className={`${contentPrefixCls}-body`} style={bodyStyle}>
{icon} {icon}
{props.title === undefined ? null : ( {props.title === undefined ? null : (

Loading…
Cancel
Save