import React from 'react'; import Datepicker from './datepicker' import SiteSwitcher from './site-switcher' import Filters from './filters' import CurrentVisitors from './stats/current-visitors' import VisitorGraph from './stats/visitor-graph' import Sources from './stats/sources' import Pages from './stats/pages' import Countries from './stats/countries' import Devices from './stats/devices' import Conversions from './stats/conversions' export default class Stats extends React.Component { renderConversions() { if (this.props.site.hasGoals) { return (
) } } render() { return (
{ this.renderConversions() }
) } }