aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-02-25 02:16:03 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commita5fbeabe6af6888cb22b6733f31f8f0ba4aa0c29 (patch)
treec3dcca6c129fe2401011661729b0471049cb008b /vnext
parent47a3c1b8077bfdcd04a78f6893535bd72098c310 (diff)
Fix Modal component
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);