fix disabled rewards message styling
This commit is contained in:
parent
9466c8ad94
commit
fbb4041e78
1 changed files with 3 additions and 2 deletions
|
@ -81,12 +81,13 @@ class RewardsPage extends React.PureComponent {
|
|||
|
||||
if (!daemonSettings.share_usage_data) {
|
||||
return (
|
||||
<div className="card__content empty">
|
||||
<div className="card card--section">
|
||||
<div className="card__title">{__('Disabled')}</div>
|
||||
<p>
|
||||
{__(
|
||||
'Rewards are currently disabled for your account. Turn on diagnostic data sharing, in'
|
||||
)}{' '}
|
||||
<Button onClick={() => navigate('/settings')} label="Settings" />
|
||||
<Button button="link" onClick={() => navigate('/settings')} label="Settings" />
|
||||
{__(', in order to re-enable them.')}
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue