diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index 5e823c92b7..971cc56b61 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -84,7 +84,7 @@ export default class Modal extends React.Component { maskTransitionName: 'fade', confirmLoading: false, visible: false, - okType: 'primary' + okType: 'primary', }; static propTypes = { diff --git a/components/popconfirm/index.tsx b/components/popconfirm/index.tsx index e3a03463f9..ac5224c3ea 100644 --- a/components/popconfirm/index.tsx +++ b/components/popconfirm/index.tsx @@ -21,7 +21,7 @@ abstract class Popconfirm extends React.Component { transitionName: 'zoom-big', placement: 'top', trigger: 'click', - okType: 'primary' + okType: 'primary', }; refs: {