Removed fragment in SubsMap

This commit is contained in:
vjrj 2018-03-03 11:38:49 +01:00
parent 337931b6c2
commit cbc3d07f4a

View file

@ -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>
); );
} }
} }