diff options
author | Vitaly Takmazov | 2019-02-25 02:16:03 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | a5fbeabe6af6888cb22b6733f31f8f0ba4aa0c29 (patch) | |
tree | c3dcca6c129fe2401011661729b0471049cb008b /vnext | |
parent | 47a3c1b8077bfdcd04a78f6893535bd72098c310 (diff) |
Fix Modal component
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/src/components/Modal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Modal.js b/vnext/src/components/Modal.js index 5ee8c3ec..50516d05 100644 --- a/vnext/src/components/Modal.js +++ b/vnext/src/components/Modal.js @@ -18,11 +18,11 @@ function Modal(props) { <div id="dialogt" style={backdropStyle}> <div id="dialogw"> <div id="dialog_header"> - <div id="dialogc" onClick={this.props.onClose}> + <div id="dialogc" onClick={props.onClose}> <Icon name="ei-close" size="s" /> </div> </div> - {this.props.children} + {props.children} </div> </div> ) : (null); |