From 8321ee5c32b6b41806476fd3cf3c76c2b1252a18 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 23 Apr 2018 01:17:54 -0400 Subject: [PATCH] add button prop for reward link for rewards page --- src/renderer/component/rewardLink/view.jsx | 5 +++-- src/renderer/component/rewardTile/view.jsx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/renderer/component/rewardLink/view.jsx b/src/renderer/component/rewardLink/view.jsx index 535b7c994..ece5b669a 100644 --- a/src/renderer/component/rewardLink/view.jsx +++ b/src/renderer/component/rewardLink/view.jsx @@ -12,17 +12,18 @@ type Props = { label: ?string, errorMessage: ?string, reward: Reward, + button: ?boolean, clearError: Reward => void, claimReward: Reward => void, }; const RewardLink = (props: Props) => { - const { reward, claimReward, clearError, errorMessage, label, isPending } = props; + const { reward, claimReward, clearError, errorMessage, label, isPending, button } = props; return !reward ? null : (