fix typos
This commit is contained in:
parent
9f40b7ff7c
commit
3cc260e56c
|
@ -108,7 +108,7 @@ export default function CreatorAnalytics(props: Props) {
|
||||||
subtitle={
|
subtitle={
|
||||||
<div className="card__data-subtitle">
|
<div className="card__data-subtitle">
|
||||||
<span>
|
<span>
|
||||||
{stats.ChannelSubChange > 0 ? '+' : '-'}{' '}
|
{0 > -1 && '+'}{' '}
|
||||||
{__('%follower_count_weekly_change% this week', {
|
{__('%follower_count_weekly_change% this week', {
|
||||||
follower_count_weekly_change: stats.ChannelSubChange || 0,
|
follower_count_weekly_change: stats.ChannelSubChange || 0,
|
||||||
})}
|
})}
|
||||||
|
@ -121,11 +121,14 @@ export default function CreatorAnalytics(props: Props) {
|
||||||
icon={ICONS.EYE}
|
icon={ICONS.EYE}
|
||||||
title={<span>{__('%all_content_views% views', { all_content_views: stats.AllContentViews })}</span>}
|
title={<span>{__('%all_content_views% views', { all_content_views: stats.AllContentViews })}</span>}
|
||||||
subtitle={
|
subtitle={
|
||||||
|
<div className="card__data-subtitle">
|
||||||
<span>
|
<span>
|
||||||
{__('%all_content_views_weekly_change% this week', {
|
{__('+ %all_content_views_weekly_change% this week', {
|
||||||
all_content_views_weekly_change: stats.AllContentViewsChange || 0,
|
all_content_views_weekly_change: stats.AllContentViewChange || 0,
|
||||||
})}
|
})}
|
||||||
</span>
|
</span>
|
||||||
|
{stats.AllContentViewChange > 0 && <Icon icon={ICONS.SUPPORT} iconColor="green" size={18} />}
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue