diff --git a/src/renderer/component/rewardSummary/view.jsx b/src/renderer/component/rewardSummary/view.jsx index cf4401054..4da98ea35 100644 --- a/src/renderer/component/rewardSummary/view.jsx +++ b/src/renderer/component/rewardSummary/view.jsx @@ -1,9 +1,14 @@ +// @flow import React from "react"; import Link from "component/link"; import { CreditAmount } from "component/common"; -const RewardSummary = props => { - const { balance, unclaimedRewardAmount } = props; +type Props = { + unclaimedRewardAmount: number, +} + +const RewardSummary = (props: Props) => { + const { unclaimedRewardAmount } = props; return (
@@ -11,12 +16,14 @@ const RewardSummary = props => {

{__("Rewards")}

- {unclaimedRewardAmount > 0 && ( + {unclaimedRewardAmount > 0 ? (

- You have{" "} - in - unclaimed rewards. + {__("You have")}{" "} + + {" "}{__("in unclaimed rewards")}.

+ ) : ( +

{__("There are no rewards available at this time, please check back later")}.

)}