From 997fdfe7899bf5c9e4cc81b8e922f635c6adbc1e Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Wed, 4 Sep 2019 17:37:28 -0400 Subject: [PATCH] feat: daily reward Adds range to reward tile, updates lbryinc which checks the reward --- flow-typed/reward.js | 1 + package.json | 2 +- src/ui/component/rewardLink/view.jsx | 3 ++- src/ui/component/rewardTile/view.jsx | 1 + yarn.lock | 8 ++++---- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/flow-typed/reward.js b/flow-typed/reward.js index d77e3568f..24cc23b3a 100644 --- a/flow-typed/reward.js +++ b/flow-typed/reward.js @@ -4,6 +4,7 @@ declare type Reward = { created_at: string, id: number, reward_amount: number, + reward_range?: string, reward_description: string, reward_notification: string, reward_title: string, diff --git a/package.json b/package.json index 1d7853526..2564115b9 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", "lbry-redux": "lbryio/lbry-redux#2b3a5a59907f34d4e1c005c4696282b58d626242", - "lbryinc": "lbryio/lbryinc#1ce266b3c52654190b955e9c869b8e302aa5c585", + "lbryinc": "lbryio/lbryinc#534f02e54ab93585d3dcab6a6cc708117978e454", "lint-staged": "^7.0.2", "localforage": "^1.7.1", "lodash-es": "^4.17.14", diff --git a/src/ui/component/rewardLink/view.jsx b/src/ui/component/rewardLink/view.jsx index 0f1750422..be10ebb8e 100644 --- a/src/ui/component/rewardLink/view.jsx +++ b/src/ui/component/rewardLink/view.jsx @@ -4,6 +4,7 @@ import Button from 'component/button'; type Reward = { reward_amount: number, + reward_range: string, }; type Props = { @@ -20,7 +21,7 @@ const RewardLink = (props: Props) => {