Skip to content

Commit

Permalink
update getContainer to props before (ant-design#18182)
Browse files Browse the repository at this point in the history
  • Loading branch information
jljsj33 authored Aug 9, 2019
1 parent 03dc799 commit 97df742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/confirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default function confirm(config: ModalFuncProps) {
}

function render(props: any) {
ReactDOM.render(<ConfirmDialog {...props} getContainer={false} />, div);
ReactDOM.render(<ConfirmDialog getContainer={false} {...props} />, div);
}

function close(...args: any[]) {
Expand Down

0 comments on commit 97df742

Please sign in to comment.