diff --git a/package.json b/package.json index 581f352b3..8496fcff7 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "immutability-helper": "^2.8.1", "lodash": "^4.17.11", "prop-types": "^15.7.2", - "react-click-outside": "3.0.1", "react-popopo": "^2.1.9", "react-redux": "^5.0.7", "redux": "^4.0.0", diff --git a/src/components/NewLaneForm.js b/src/components/NewLaneForm.js index 6dbfd909e..f3b1f9ee8 100644 --- a/src/components/NewLaneForm.js +++ b/src/components/NewLaneForm.js @@ -3,7 +3,6 @@ import PropTypes from 'prop-types' import { LaneTitle, NewLaneButtons, Section } from 'rt/styles/Base' import { AddButton, CancelButton } from 'rt/styles/Elements' import NewLaneTitleEditor from 'rt/widgets/NewLaneTitleEditor' -import ClickOutside from 'react-click-outside' class NewLane extends Component { handleSubmit = () => { @@ -23,7 +22,6 @@ class NewLane extends Component { render() { const { onCancel, t } = this.props return ( -
{t('button.Cancel')}
-
) } } diff --git a/yarn.lock b/yarn.lock index 37f5fb63f..b46f02cfb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7427,11 +7427,6 @@ hoist-non-react-statics@1.x.x, hoist-non-react-statics@^1.2.0: resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb" integrity sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs= -hoist-non-react-statics@^2.1.1: - version "2.5.5" - resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47" - integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw== - hoist-non-react-statics@^3.1.0: version "3.3.0" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b" @@ -11773,13 +11768,6 @@ react-addons-create-fragment@^15.5.3: loose-envify "^1.3.1" object-assign "^4.1.0" -react-click-outside@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/react-click-outside/-/react-click-outside-3.0.1.tgz#6e77e84d2f17afaaac26dbad743cbbf909f5e24c" - integrity sha512-d0KWFvBt+esoZUF15rL2UBB7jkeAqLU8L/Ny35oLK6fW6mIbOv/ChD+ExF4sR9PD26kVx+9hNfD0FTIqRZEyRQ== - dependencies: - hoist-non-react-statics "^2.1.1" - react-dev-utils@^6.1.0: version "6.1.1" resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-6.1.1.tgz#a07e3e8923c4609d9f27e5af5207e3ca20724895"