Skip to content

Commit

Permalink
fix: address passing wallet-connect project id
Browse files Browse the repository at this point in the history
  • Loading branch information
samobasquiat authored and yeager-eren committed Apr 22, 2024
1 parent 68a548c commit 80a6b80
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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'
);
Expand Down

0 comments on commit 80a6b80

Please sign in to comment.