Skip to content

Commit

Permalink
chore: revert incorrect prop name in Modal component (#4311)
Browse files Browse the repository at this point in the history
  • Loading branch information
erha19 authored Jan 8, 2025
1 parent 2e6a03c commit 1f0f364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default class Modal extends React.Component<PropsWithChildren<ModalProps>
animation={this.props.animation}
getContainer={getContainer}
prefixCls={prefixCls}
className={cls({ [`${prefixCls}-centered`]: !!centered }, wrapClassName)}
wrapClassName={cls({ [`${prefixCls}-centered`]: !!centered }, wrapClassName)}
footer={footer === undefined ? defaultFooter : footer}
visible={visible}
mousePosition={mousePosition}
Expand Down

0 comments on commit 1f0f364

Please sign in to comment.