diff --git a/components/brave_wallet_ui/components/extension/confirm-transaction-panel/index.tsx b/components/brave_wallet_ui/components/extension/confirm-transaction-panel/index.tsx index 8710ea908fbc..590e5d2db7d6 100644 --- a/components/brave_wallet_ui/components/extension/confirm-transaction-panel/index.tsx +++ b/components/brave_wallet_ui/components/extension/confirm-transaction-panel/index.tsx @@ -71,6 +71,7 @@ import { export type confirmPanelTabs = 'transaction' | 'details' export interface Props { + siteURL: string accounts: WalletAccountType[] visibleTokens: TokenInfo[] fullTokenList: TokenInfo[] @@ -92,6 +93,7 @@ export interface Props { function ConfirmTransactionPanel (props: Props) { const { + siteURL, accounts, selectedNetwork, transactionInfo, @@ -126,10 +128,6 @@ function ConfirmTransactionPanel (props: Props) { const [currentTokenAllowance, setCurrentTokenAllowance] = React.useState('') const [isEditingAllowance, setIsEditingAllowance] = React.useState(false) - // Will remove this hardcoded value once we know - // where the site info will be coming from. - const siteURL = 'https://app.compound.finance' - const findSpotPrice = usePricing(transactionSpotPrices) const parseTransaction = useTransactionParser(selectedNetwork, accounts, transactionSpotPrices, visibleTokens, fullTokenList) const transactionDetails = parseTransaction(transactionInfo) diff --git a/components/brave_wallet_ui/panel/container.tsx b/components/brave_wallet_ui/panel/container.tsx index 9f6a5cd7f035..7794114d5be7 100644 --- a/components/brave_wallet_ui/panel/container.tsx +++ b/components/brave_wallet_ui/panel/container.tsx @@ -484,16 +484,16 @@ function Container (props: Props) { if (selectedPendingTransaction && selectedPanel === 'connectHardwareWallet') { return ( - - - - - + + + + + ) } @@ -502,6 +502,7 @@ function Container (props: Props) { { return (