diff --git a/src/common/Modal/Modal.js b/src/common/Modal/Modal.js index 1a5e6441d..6faec240a 100644 --- a/src/common/Modal/Modal.js +++ b/src/common/Modal/Modal.js @@ -1,7 +1,6 @@ import { PureComponent } from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; -import classnames from 'classnames'; class Modal extends PureComponent { constructor(props) { @@ -19,7 +18,7 @@ class Modal extends PureComponent { } render() { - this.modalElement.className = classnames('modal-container', this.props.className); + this.modalElement.className = this.props.className; this.modalElement.onclick = this.props.onRequestClose; return ReactDOM.createPortal(this.props.children, this.modalElement); } diff --git a/src/common/Popup/Popup.js b/src/common/Popup/Popup.js index ab900ad68..2b93ee94c 100644 --- a/src/common/Popup/Popup.js +++ b/src/common/Popup/Popup.js @@ -118,7 +118,7 @@ class Popup extends Component { } return ( - +
{children}