Skip to content

Commit

Permalink
Merge pull request #3640 from brave/ads-claim
Browse files Browse the repository at this point in the history
Fixes claim process for ads
  • Loading branch information
NejcZdovc authored Oct 9, 2019
2 parents dc0975f + 3cb2ab8 commit 3343e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ export class Panel extends React.Component<Props, State> {
let clickEvent

switch (type) {
case 'ads':
case 'grant':
clickEvent = this.onFetchCaptcha
break
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export default class WalletWrapper extends React.PureComponent<Props, State> {
let buttonAction = onClose

switch (type) {
case 'ads':
case 'grant':
buttonText = getLocale('claim')
buttonAction = this.onNotificationClick
Expand Down

0 comments on commit 3343e43

Please sign in to comment.