diff --git a/assets/js/dashboard/stats/behaviours/index.js b/assets/js/dashboard/stats/behaviours/index.js index ce45dbbc6..f79e0ed04 100644 --- a/assets/js/dashboard/stats/behaviours/index.js +++ b/assets/js/dashboard/stats/behaviours/index.js @@ -125,7 +125,7 @@ export default function Behaviours(props) { leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95" > - +
{funnelNames.map((funnelName) => { return ( @@ -182,7 +182,7 @@ export default function Behaviours(props) { function renderConversions() { if (site.hasGoals) { - return + return } else if (adminAccess) { return ( @@ -213,9 +213,9 @@ export default function Behaviours(props) { let callToAction if (site.funnelsAvailable) { - callToAction = {action: 'Set up funnels', link: `/${encodeURIComponent(site.domain)}/settings/funnels`} + callToAction = { action: 'Set up funnels', link: `/${encodeURIComponent(site.domain)}/settings/funnels` } } else { - callToAction = {action: 'Upgrade', link: '/billing/choose-plan'} + callToAction = { action: 'Upgrade', link: '/billing/choose-plan' } } return ( @@ -234,14 +234,14 @@ export default function Behaviours(props) { function renderProps() { if (site.hasProps && site.propsAvailable) { - return + return } else if (adminAccess) { let callToAction if (site.propsAvailable) { - callToAction = {action: 'Set up props', link: `/${encodeURIComponent(site.domain)}/settings/properties`} + callToAction = { action: 'Set up props', link: `/${encodeURIComponent(site.domain)}/settings/properties` } } else { - callToAction = {action: 'Upgrade', link: '/billing/choose-plan'} + callToAction = { action: 'Upgrade', link: '/billing/choose-plan' } } return ( @@ -337,11 +337,11 @@ export default function Behaviours(props) { function renderImportedQueryUnsupportedWarning() { if (mode === CONVERSIONS) { - return + return } else if (mode === PROPS) { - return + return } else { - return + return } } @@ -354,7 +354,7 @@ export default function Behaviours(props) {

{sectionTitle() + (isRealtime() ? ' (last 30min)' : '')}

- { renderImportedQueryUnsupportedWarning()} + {renderImportedQueryUnsupportedWarning()}
{tabs()}