diff --git a/widget/embedded/src/components/HeaderButtons/WalletButton.tsx b/widget/embedded/src/components/HeaderButtons/WalletButton.tsx index 43774b698b..1f2b9ec4ac 100644 --- a/widget/embedded/src/components/HeaderButtons/WalletButton.tsx +++ b/widget/embedded/src/components/HeaderButtons/WalletButton.tsx @@ -5,6 +5,7 @@ import { Image, Tooltip, WalletIcon } from '@rango-dev/ui'; import React from 'react'; import { useWalletList } from '../../hooks/useWalletList'; +import { useAppStore } from '../../store/AppStore'; import { ConnectedIcon, @@ -14,7 +15,9 @@ import { } from './HeaderButtons.styles'; function WalletButton(props: PropTypes) { - const { list } = useWalletList({}); + const { config } = useAppStore(); + + const { list } = useWalletList({ config }); const connectedWallets = list.filter( (wallet) => wallet.state === 'connected' );