Commit b6b61fc 1 parent 09c6315 commit b6b61fc Copy full SHA for b6b61fc
File tree 3 files changed +5
-9
lines changed
mobile/src/components/challenge-rewards-drawer
web/src/pages/rewards-page/components/modals/ChallengeRewardsModal
3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,7 @@ export const getClaimableChallengeSpecifiers = (
380
380
381
381
const newChallengeIds : ChallengeRewardID [ ] = [
382
382
ChallengeName . ListenStreakEndless ,
383
+ ChallengeName . FirstWeeklyComment ,
383
384
ChallengeName . AudioMatchingSell ,
384
385
ChallengeName . AudioMatchingBuy
385
386
]
Original file line number Diff line number Diff line change 1
1
import { getAAOErrorEmojis } from '@audius/common/utils'
2
2
3
- import { Text } from 'app/components/core'
4
-
5
- import { useStyles } from './styles'
3
+ import { Text } from '@audius/harmony-native'
6
4
7
5
const messages = {
8
6
claimErrorMessage :
@@ -13,13 +11,10 @@ const messages = {
13
11
14
12
/** Renders a generic error message for failed challenge claims */
15
13
export const ClaimError = ( { aaoErrorCode } : { aaoErrorCode ?: number } ) => {
16
- const styles = useStyles ( )
17
14
return aaoErrorCode === undefined ? (
18
- < Text style = { styles . claimRewardsError } weight = 'bold' >
19
- { messages . claimErrorMessage }
20
- </ Text >
15
+ < Text > { messages . claimErrorMessage } </ Text >
21
16
) : (
22
- < Text style = { styles . claimRewardsError } weight = 'bold' >
17
+ < Text >
23
18
{ messages . claimErrorMessageAAO }
24
19
{ getAAOErrorEmojis ( aaoErrorCode ) }
25
20
</ Text >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const { claimChallengeReward } = audioRewardsPageActions
13
13
14
14
const messages = {
15
15
close : 'Close' ,
16
- claimableAmountLabel : ( amount : number ) => `Claim $$ {amount } $AUDIO`
16
+ claimableAmountLabel : ( amount : number ) => `Claim ${ amount } $AUDIO`
17
17
}
18
18
19
19
type ClaimButtonProps = {
You can’t perform that action at this time.
0 commit comments