Skip to content

Commit

Permalink
Fixes TOS links
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Feb 13, 2020
1 parent 8f2d47a commit 38ff7b7
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 38ff7b7

Please sign in to comment.