Removed fragment in SubsMap
This commit is contained in:
parent
337931b6c2
commit
cbc3d07f4a
1 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable react/jsx-indent-props */
|
/* eslint-disable react/jsx-indent-props */
|
||||||
/* eslint-disable react/jsx-indent */
|
/* eslint-disable react/jsx-indent */
|
||||||
|
|
||||||
import React, { Fragment } from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Button, ButtonGroup, Row, Col } from 'react-bootstrap';
|
import { Button, ButtonGroup, Row, Col } from 'react-bootstrap';
|
||||||
import { Meteor } from 'meteor/meteor';
|
import { Meteor } from 'meteor/meteor';
|
||||||
|
|
@ -95,7 +95,7 @@ class SubscriptionsMap extends React.Component {
|
||||||
const title = `${t('AppName')}: ${t('Zonas vigiladas')}`;
|
const title = `${t('AppName')}: ${t('Zonas vigiladas')}`;
|
||||||
console.log(`Rendering Subs users ready ${this.props.subsready} viewport: ${JSON.stringify(this.state.viewport)}`);
|
console.log(`Rendering Subs users ready ${this.props.subsready} viewport: ${JSON.stringify(this.state.viewport)}`);
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<div>
|
||||||
{ !isHome() &&
|
{ !isHome() &&
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
|
|
@ -152,7 +152,7 @@ class SubscriptionsMap extends React.Component {
|
||||||
{ !isHome() &&
|
{ !isHome() &&
|
||||||
<ShareIt title={title} />
|
<ShareIt title={title} />
|
||||||
}
|
}
|
||||||
</Fragment>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue