Skip to content

Commit

Permalink
Address feedback: fix spelling error - Listner -> Listener
Browse files Browse the repository at this point in the history
  • Loading branch information
nvonpentz committed Aug 10, 2022
1 parent 699f557 commit be6bc41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/brave_wallet_ui/ledger/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { LedgerUntrustedMessagingTransport } from '../common/hardware/ledgerjs/l
import { SolanaLedgerUntrustedMessagingTransport } from '../common/hardware/ledgerjs/sol-ledger-untrusted-transport'
import { EthereumLedgerUntrustedMessagingTransport } from '../common/hardware/ledgerjs/eth-ledger-untrusted-transport'

const setUpAuthorizeButtonListner = (targetUrl: string, coinType: BraveWallet.CoinType) => {
const setUpAuthorizeButtonListener = (targetUrl: string, coinType: BraveWallet.CoinType) => {
const untrustedMessagingTransport = getUntrustedMessagingTransport(coinType, targetUrl)
window.addEventListener('DOMContentLoaded', (event) => {
const authorizeBtn = document.getElementById('authorize')
Expand Down Expand Up @@ -42,5 +42,5 @@ const params = new URLSearchParams(window.location.search)
const targetUrl = params.get('targetUrl')
const coinType = Number(params.get('coinType'))
if (targetUrl && coinType) {
setUpAuthorizeButtonListner(targetUrl, coinType)
setUpAuthorizeButtonListener(targetUrl, coinType)
}

0 comments on commit be6bc41

Please sign in to comment.