aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/LoginButton.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-28 16:06:30 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit1068ba623d2f8b6f7e89f5a4db2c9a54f20a26f0 (patch)
tree4b2402c1d718584449535acade8235a262c9a934 /vnext/src/components/LoginButton.js
parent7e08830d9ed55e77d7242106dcd1c3dd5bc4488b (diff)
React.Fragment short syntax (requires babel 7)
Diffstat (limited to 'vnext/src/components/LoginButton.js')
-rw-r--r--vnext/src/components/LoginButton.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/LoginButton.js b/vnext/src/components/LoginButton.js
index e6c079f6..5bc58ef6 100644
--- a/vnext/src/components/LoginButton.js
+++ b/vnext/src/components/LoginButton.js
@@ -46,7 +46,7 @@ export default class LoginButton extends React.Component {
render() {
return (
- <React.Fragment>
+ <>
<a onClick={this.toggleModal}><Icon name="ei-user" size="s" />{this.props.title}</a>
<Modal show={this.state.isOpen}
onClose={this.toggleModal}>
@@ -76,7 +76,7 @@ export default class LoginButton extends React.Component {
</form>
</div>
</Modal>
- </React.Fragment>
+ </>
);
}
}