aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Feeds.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/Feeds.js
parent7e08830d9ed55e77d7242106dcd1c3dd5bc4488b (diff)
React.Fragment short syntax (requires babel 7)
Diffstat (limited to 'vnext/src/components/Feeds.js')
-rw-r--r--vnext/src/components/Feeds.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index 89eb7774..194af71c 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -122,7 +122,7 @@ class Feed extends React.Component {
render() {
const { tag } = qs.parse(this.props.location.search || {});
const nodes = (
- <React.Fragment>
+ <>
{
tag && (
<p className="page">
@@ -143,7 +143,7 @@ class Feed extends React.Component {
</p>
)
}
- </React.Fragment>
+ </>
);
return this.state.msgs.length > 0 ? (
<div className="msgs">{nodes}</div>