diff options
author | Matthew Shao <me@matshao.com> | 2017-06-28 21:48:22 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-06-28 21:48:22 +0800 |
commit | febfeb9ef2bd9c412590c489e12f393f183b9a82 (patch) | |
tree | bbf7109a56be42e7db9c9e9be94eef718a9b3b3f /web/src/js/components/Modal/Modal.jsx | |
parent | 81c854e9097b9d8990899b41a1ac8f7050182763 (diff) | |
download | mitmproxy-febfeb9ef2bd9c412590c489e12f393f183b9a82.tar.gz mitmproxy-febfeb9ef2bd9c412590c489e12f393f183b9a82.tar.bz2 mitmproxy-febfeb9ef2bd9c412590c489e12f393f183b9a82.zip |
[web] Minor update for Modal Component.
Diffstat (limited to 'web/src/js/components/Modal/Modal.jsx')
-rw-r--r-- | web/src/js/components/Modal/Modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/components/Modal/Modal.jsx b/web/src/js/components/Modal/Modal.jsx index 3370ad36..e39f5415 100644 --- a/web/src/js/components/Modal/Modal.jsx +++ b/web/src/js/components/Modal/Modal.jsx @@ -11,7 +11,7 @@ class PureModal extends Component { render() { const { activeModal, hideModal } = this.props - const ActiveModal = _.find(ModalList, m => m.name === activeModal ) + const ActiveModal = ModalList.find(m => m.name === activeModal ) return( activeModal ? <div> |