diff options
author | 2018-07-06 02:11:40 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:53 +0300 | |
commit | ea1b9039ae221355cfaabb16fc43dab5917bea56 (patch) | |
tree | 9e9c40a33cfcbd69062dae77a68964929f952368 /vnext/src/components/Modal.js | |
parent | 91faf0911184bb430170d021195d008b977e0ac4 (diff) |
Fix eslint warnings
Diffstat (limited to 'vnext/src/components/Modal.js')
-rw-r--r-- | vnext/src/components/Modal.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vnext/src/components/Modal.js b/vnext/src/components/Modal.js index 296f7911..77ca1a37 100644 --- a/vnext/src/components/Modal.js +++ b/vnext/src/components/Modal.js @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import Icon from './Icon'; -class Modal extends React.Component { +export default class Modal extends React.Component { render() { // Render nothing if the "show" prop is false if (!this.props.show) { @@ -41,5 +41,3 @@ Modal.propTypes = { show: PropTypes.bool, children: PropTypes.node }; - -export default Modal;
\ No newline at end of file |