aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/components/Modal.js4
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);