diff --git a/src/features/rewards/grantComplete/__snapshots__/spec.tsx.snap b/src/features/rewards/grantComplete/__snapshots__/spec.tsx.snap
index 553b8b993..73dd29c77 100644
--- a/src/features/rewards/grantComplete/__snapshots__/spec.tsx.snap
+++ b/src/features/rewards/grantComplete/__snapshots__/spec.tsx.snap
@@ -115,7 +115,9 @@ exports[`Grant complete tests basic tests matches the snapshot 1`] = `
>
+ >
+ MISSING: newTokenGrant
+
diff --git a/src/features/rewards/grantComplete/index.tsx b/src/features/rewards/grantComplete/index.tsx
index 89bffa0c2..e20a6223b 100644
--- a/src/features/rewards/grantComplete/index.tsx
+++ b/src/features/rewards/grantComplete/index.tsx
@@ -19,19 +19,18 @@ export interface Props {
testId?: string
onClose: () => void
amount: string
- date: string
+ date: string,
isMobile?: boolean
- tokenTitle?: string
}
export default class GrantComplete extends React.PureComponent
{
render () {
- const { id, testId, onClose, amount, date, isMobile, tokenTitle } = this.props
+ const { id, testId, onClose, amount, date, isMobile } = this.props
return (
- {tokenTitle}
+ {getLocale('newTokenGrant')}
{amount} BAT
{
date && date.length > 0
diff --git a/src/features/rewards/walletWrapper/index.tsx b/src/features/rewards/walletWrapper/index.tsx
index 7b44adedc..7ea67cf52 100644
--- a/src/features/rewards/walletWrapper/index.tsx
+++ b/src/features/rewards/walletWrapper/index.tsx
@@ -68,9 +68,6 @@ type GrantClaim = {
captcha?: string
hint?: string
status?: 'wrongPosition' | 'grantGone' | 'generalError' | 'grantAlreadyClaimed' | number | null
- finishTokenTitle?: string
- finishTitle?: string
- finishText?: string
}
export interface AlertWallet {
@@ -461,10 +458,10 @@ export default class WalletWrapper extends React.PureComponent {
?
-
+
: null
}
diff --git a/stories/assets/locale.ts b/stories/assets/locale.ts
index a62aafd28..a4baefddb 100644
--- a/stories/assets/locale.ts
+++ b/stories/assets/locale.ts
@@ -37,6 +37,7 @@ const locale: Record = {
braveVerified: 'Verified Creators',
cancel: 'Cancel',
captchaDrag: 'Drag the BAT Icon on to the',
+ captchaLuckyDay: 'It’s your lucky day!',
captchaOnTheWay: 'Your token grant is on its way.',
captchaProveHuman: 'Prove that you are human!',
captchaTarget: 'target.',
@@ -108,6 +109,7 @@ const locale: Record = {
monthlyText: 'Monthly',
monthlyTips: 'Monthly Tips!',
newGrant: 'A free token grant is available.',
+ newTokenGrant: 'New Token Grant',
noActivity: 'No activities yet…',
noGrants: 'Currently no token grant is available.',
notEnoughTokens: 'Not enough tokens. Please',
diff --git a/stories/features/rewards/concepts.tsx b/stories/features/rewards/concepts.tsx
index 25ec7ec27..93cc5a808 100644
--- a/stories/features/rewards/concepts.tsx
+++ b/stories/features/rewards/concepts.tsx
@@ -51,10 +51,7 @@ const defaultGrant = {
probi: '',
expiryTime: 0,
captcha: '',
- hint: '',
- finishTitle: 'It\'s your lucky day!',
- finishText: 'Your token grant is on its way.',
- finishTokenTitle: 'Free Token Grant'
+ hint: ''
}
const grantNotification = {
@@ -284,20 +281,17 @@ storiesOf('Feature Components/Rewards/Concepts/Desktop', module)
{
tokens: '8.0',
expireDate: '7/15/2018',
- type: 'ugp',
- tokenText: 'Free Token Grant'
+ type: 'ugp'
},
{
tokens: '10.0',
expireDate: '9/10/2018',
- type: 'ugp',
- tokenText: 'Free Token Grant'
+ type: 'ugp'
},
{
tokens: '10.0',
expireDate: '10/10/2018',
- type: 'ads',
- tokenText: 'Your Brave Ads Token Grant'
+ type: 'ads'
}
])}
>
diff --git a/stories/features/rewards/grant.tsx b/stories/features/rewards/grant.tsx
index e4fa39774..d324baac0 100644
--- a/stories/features/rewards/grant.tsx
+++ b/stories/features/rewards/grant.tsx
@@ -62,7 +62,6 @@ storiesOf('Feature Components/Rewards/Grant', module)
onClose={dummyClick}
amount={'30.0'}
date={text('Date', '8/15/2018')}
- tokenTitle={'Free token grant'}
/>
)
diff --git a/stories/features/rewards/settings/grant.tsx b/stories/features/rewards/settings/grant.tsx
index d8dfd3985..3e69dd751 100644
--- a/stories/features/rewards/settings/grant.tsx
+++ b/stories/features/rewards/settings/grant.tsx
@@ -81,7 +81,7 @@ class Grant extends React.Component {
title={'It’s your lucky day!'}
text={'Your token grant is on its way.'}
>
-
+
: null
}
diff --git a/stories/features/rewards/settingsMobile/grantMobile.tsx b/stories/features/rewards/settingsMobile/grantMobile.tsx
index a7bdf3450..3c4c933d0 100644
--- a/stories/features/rewards/settingsMobile/grantMobile.tsx
+++ b/stories/features/rewards/settingsMobile/grantMobile.tsx
@@ -83,7 +83,6 @@ class GrantMobile extends React.Component {
onClose={this.onComplete}
amount={'30.0'}
date={'8/15/2018'}
- tokenTitle={'Free token grant'}
/>
: null