Skip to content

Commit

Permalink
Merge pull request #4634 from brave/pr4625_tos-link_1.5.x
Browse files Browse the repository at this point in the history
Fixes TOS links (uplift to 1.5.x)
  • Loading branch information
kjozwiak authored Feb 14, 2020
2 parents fa7c3bc + 90e2d3a commit ef3db58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class Rewards extends React.PureComponent<RewardsProps, {}> {
return (
<>
<ServiceText>
{beforeTag}<ServiceLink href={'https://brave.com/terms-of-use'}>{duringTag}</ServiceLink>{afterTag}
{beforeTag}<ServiceLink href={'https://basicattentiontoken.org/user-terms-of-service'}>{duringTag}</ServiceLink>{afterTag}
</ServiceText>
</>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export class RewardsPanel extends React.Component<Props, State> {

openTOS () {
chrome.tabs.create({
url: 'https://brave.com/terms-of-use'
url: 'https://basicattentiontoken.org/user-terms-of-service'
})
}

Expand Down
2 changes: 1 addition & 1 deletion components/brave_rewards/resources/page/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class App extends React.Component<Props, State> {
}

openTOS () {
window.open('https://brave.com/terms-of-use', '_blank')
window.open('https://basicattentiontoken.org/user-terms-of-service', '_blank')
}

openPrivacyPolicy () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class SettingsPage extends React.Component<Props, State> {
}

openTOS () {
window.open('https://brave.com/terms-of-use', '_blank')
window.open('https://basicattentiontoken.org/user-terms-of-service', '_blank')
}

openPrivacyPolicy () {
Expand Down

0 comments on commit ef3db58

Please sign in to comment.