From 3cc260e56c702e41f13bb63721dfd8cd43816b18 Mon Sep 17 00:00:00 2001 From: seanyesmunt Date: Thu, 19 Mar 2020 12:42:43 -0400 Subject: [PATCH] fix typos --- ui/component/creatorAnalytics/view.jsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/ui/component/creatorAnalytics/view.jsx b/ui/component/creatorAnalytics/view.jsx index 63efdc4e9..7252ccd83 100644 --- a/ui/component/creatorAnalytics/view.jsx +++ b/ui/component/creatorAnalytics/view.jsx @@ -108,7 +108,7 @@ export default function CreatorAnalytics(props: Props) { subtitle={
- {stats.ChannelSubChange > 0 ? '+' : '-'}{' '} + {0 > -1 && '+'}{' '} {__('%follower_count_weekly_change% this week', { follower_count_weekly_change: stats.ChannelSubChange || 0, })} @@ -121,11 +121,14 @@ export default function CreatorAnalytics(props: Props) { icon={ICONS.EYE} title={{__('%all_content_views% views', { all_content_views: stats.AllContentViews })}} subtitle={ - - {__('%all_content_views_weekly_change% this week', { - all_content_views_weekly_change: stats.AllContentViewsChange || 0, - })} - +
+ + {__('+ %all_content_views_weekly_change% this week', { + all_content_views_weekly_change: stats.AllContentViewChange || 0, + })} + + {stats.AllContentViewChange > 0 && } +
} />