From 9e32f655b9a50e74f5221d9ad45f07337869e6a0 Mon Sep 17 00:00:00 2001 From: liamcardenas Date: Fri, 16 Mar 2018 14:05:24 -0700 Subject: [PATCH] Add settings link --- src/renderer/page/rewards/view.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/renderer/page/rewards/view.jsx b/src/renderer/page/rewards/view.jsx index 315b83f35..99375faee 100644 --- a/src/renderer/page/rewards/view.jsx +++ b/src/renderer/page/rewards/view.jsx @@ -78,15 +78,17 @@ class RewardsPage extends React.PureComponent { } renderUnclaimedRewards() { - const { fetching, rewards, user, daemonSettings } = this.props; + const { fetching, rewards, user, daemonSettings, navigate } = this.props; if (!daemonSettings.share_usage_data) { return (

{__( - 'Rewards are currently disabled for your account. Turn on diagnostic data sharing, in Settings, in order to re-enable them.' - )} + 'Rewards are currently disabled for your account. Turn on diagnostic data sharing, in' + )}{' '} + navigate('/settings')} label="Settings" /> + {__(', in order to re-enable them.')}

);