diff --git a/src/components/connectOverlay/NetworkBadge.tsx b/src/components/connectOverlay/NetworkBadge.tsx index 7287f4a..8bf02cd 100644 --- a/src/components/connectOverlay/NetworkBadge.tsx +++ b/src/components/connectOverlay/NetworkBadge.tsx @@ -76,6 +76,7 @@ const NetworkBadge: React.FC = ({ if (color === 'rgba(0,0,0, 0.5)') return; console.log('Dominant color:', color); backgroundColorSelected = color; + console.log('Background color:', backgroundColorSelected); }); }, [icon]); diff --git a/src/components/connectors/SolanaConnectModal.tsx b/src/components/connectors/SolanaConnectModal.tsx index 7dea3a9..1c9b9c6 100644 --- a/src/components/connectors/SolanaConnectModal.tsx +++ b/src/components/connectors/SolanaConnectModal.tsx @@ -1,25 +1,25 @@ -import React from 'react'; +// import React from 'react'; -import ConnectButton from '../buttons/ConnectButton'; -import { useWalletModal } from '@solana/wallet-adapter-react-ui'; +// import ConnectButton from '../buttons/ConnectButton'; +// import { useWalletModal } from '@solana/wallet-adapter-react-ui'; -type Props = { - title: string; - icon: string; -}; +// type Props = { +// title: string; +// icon: string; +// }; -const SolanaConnectModal: React.FC = ({ title, icon }) => { - const { setVisible } = useWalletModal(); +// const SolanaConnectModal: React.FC = ({ title, icon }) => { +// const { setVisible } = useWalletModal(); - const openModal = () => { - setVisible(true); - }; +// const openModal = () => { +// setVisible(true); +// }; - return ( - <> - - - ); -}; +// return ( +// <> +// +// +// ); +// }; -export default SolanaConnectModal; +// export default SolanaConnectModal;