diff options
Diffstat (limited to 'vnext/src/components/Modal.js')
-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); |