src/components/paste/index.jsx
@@ -17,10 +17,6 @@ visible: false } handleMenuClick = () => { this.setState({visible: true}) } pasteSubmit = () => { const { options } = this.props this.pasteFormRef.handleConfirm().then(res => { @@ -37,10 +33,10 @@ }) this.setState({visible: false}) } else { notification.success({ notification.warning({ top: 92, message: result.message, duration: 2 duration: 5 }) } })