Skip to content

Commit

Permalink
Merge pull request #11603 from brave/disable-site-permissions-for-wal…
Browse files Browse the repository at this point in the history
…let-routes

Disabled Site Permissions for brave://wallet Route
  • Loading branch information
Douglashdaniel authored Dec 15, 2021
2 parents 41dd7c9 + c7ea4c2 commit a36db31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const CaratDownIcon = styled(CaratCircleODownIcon)`
`

export const OvalButton = styled(WalletButton)`
display: flex;;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
Expand All @@ -120,6 +120,9 @@ export const OvalButton = styled(WalletButton)`
border: 1px solid rgba(255,255,255,0.5);
fontSize: 14px;
color: ${(p) => p.theme.palette.white};
&:disabled {
cursor: default;
}
`

export const OvalButtonText = styled.span`
Expand Down
2 changes: 1 addition & 1 deletion components/brave_wallet_ui/constants/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,4 +519,4 @@ export enum WalletRoutes {
CryptoPage = '/crypto/:category/:id?'
}

export const WalletOrigin = 'chrome://wallet/'
export const WalletOrigin = 'chrome://wallet'

0 comments on commit a36db31

Please sign in to comment.