update labels and use latest lbryinc
This commit is contained in:
parent
caa5abfdfd
commit
30ba7ba773
6 changed files with 12 additions and 10 deletions
|
@ -30,7 +30,7 @@
|
|||
"flow-defs": "flow-typed install",
|
||||
"release": "yarn compile && electron-builder build",
|
||||
"precommit": "lint-staged",
|
||||
"preinstall": "yarn cache clean lbry-redux",
|
||||
"preinstall": "yarn cache clean lbry-redux && yarn cache clean lbryinc",
|
||||
"postinstall": "electron-builder install-app-deps && node build/downloadDaemon.js"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -51,7 +51,7 @@
|
|||
"hast-util-sanitize": "^1.1.2",
|
||||
"keytar": "^4.2.1",
|
||||
"lbry-redux": "lbryio/lbry-redux#c079b108c3bc4ba2b4fb85fb112b52cfc040c301",
|
||||
"lbryinc": "lbryio/lbryinc#5050001a63bbde1c461c87dbc2b65f330f5aacc9",
|
||||
"lbryinc": "lbryio/lbryinc#de7ff055605b02a24821f0f9bab1d206eb7f235d",
|
||||
"localforage": "^1.7.1",
|
||||
"mammoth": "^1.4.6",
|
||||
"mime": "^2.3.1",
|
||||
|
|
|
@ -24,7 +24,7 @@ const makeSelect = () => {
|
|||
};
|
||||
|
||||
const perform = dispatch => ({
|
||||
claimReward: reward => dispatch(doClaimRewardType(reward.reward_type, true)),
|
||||
claimReward: reward => dispatch(doClaimRewardType(reward.reward_type)),
|
||||
clearError: reward => dispatch(doClaimRewardClearError(reward)),
|
||||
navigate: path => dispatch(doNavigate(path)),
|
||||
});
|
||||
|
|
|
@ -19,7 +19,7 @@ const select = (state): {} => ({
|
|||
const perform = dispatch => ({
|
||||
closeModal: () => dispatch(doHideNotification()),
|
||||
submitRewardCode: (code: string) =>
|
||||
dispatch(doClaimRewardType(REWARD_TYPES.TYPE_REWARD_CODE, null, { code })),
|
||||
dispatch(doClaimRewardType(REWARD_TYPES.TYPE_REWARD_CODE, { params: { code } })),
|
||||
});
|
||||
|
||||
export default connect(
|
||||
|
|
|
@ -61,11 +61,11 @@ class ModalRewardCode extends React.PureComponent<Props, State> {
|
|||
onChange={e => this.setState({ rewardCode: e.target.value })}
|
||||
helper={
|
||||
<React.Fragment>
|
||||
{__('Redeem a LBRY generated reward code for LBC')}
|
||||
{__('Redeem a custom reward code for LBC')}
|
||||
{'. '}
|
||||
<Button
|
||||
button="link"
|
||||
href="https://lbry.io/faq/reward-codes"
|
||||
href="https://lbry.io/faq/rewards#reward-code"
|
||||
label={__('Learn more')}
|
||||
/>.
|
||||
</React.Fragment>
|
||||
|
|
|
@ -130,8 +130,10 @@ class RewardsPage extends React.PureComponent<Props> {
|
|||
key={REWARD_TYPES.TYPE_GENERATED_CODE}
|
||||
reward={{
|
||||
reward_type: REWARD_TYPES.TYPE_GENERATED_CODE,
|
||||
reward_title: __('Enter a Code'),
|
||||
reward_description: __('Enter a LBRY generated reward code'),
|
||||
reward_title: __('Custom Code'),
|
||||
reward_description: __(
|
||||
'Are you a supermodel or rockstar that received a custom reward code? Claim it here.'
|
||||
),
|
||||
}}
|
||||
/>
|
||||
{rewards.map(reward => <RewardTile key={reward.reward_type} reward={reward} />)}
|
||||
|
|
|
@ -5669,9 +5669,9 @@ lbry-redux@lbryio/lbry-redux#c079b108c3bc4ba2b4fb85fb112b52cfc040c301:
|
|||
proxy-polyfill "0.1.6"
|
||||
reselect "^3.0.0"
|
||||
|
||||
lbryinc@lbryio/lbryinc#5050001a63bbde1c461c87dbc2b65f330f5aacc9:
|
||||
lbryinc@lbryio/lbryinc#de7ff055605b02a24821f0f9bab1d206eb7f235d:
|
||||
version "0.0.1"
|
||||
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/5050001a63bbde1c461c87dbc2b65f330f5aacc9"
|
||||
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/de7ff055605b02a24821f0f9bab1d206eb7f235d"
|
||||
dependencies:
|
||||
lbry-redux lbryio/lbry-redux
|
||||
reselect "^3.0.0"
|
||||
|
|
Loading…
Reference in a new issue