rm solflare

This commit is contained in:
zramsay 2025-01-11 18:00:23 -05:00
parent 625c7ba05f
commit ef20a69427
2 changed files with 8 additions and 8 deletions

View File

@ -11,15 +11,15 @@ interface WalletHeaderProps {
const WalletHeader: React.FC<WalletHeaderProps> = ({ walletState, onConnect }) => {
return (
<div className="w-full bg-green-950/50 backdrop-blur-lg rounded-xl shadow-lg border border-emerald-800/50 mb-8 p-4">
<div className="max-w-md mx-auto bg-green-950/50 backdrop-blur-lg rounded-xl shadow-lg border border-emerald-800/50 mb-8 p-4">
{!walletState.connected ? (
<div className="grid grid-cols-2 gap-4">
<div className="flex justify-center">
{SUPPORTED_WALLETS.map((wallet) => (
<button
key={wallet.type}
onClick={() => onConnect(wallet.type)}
className="bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600
text-white font-semibold py-3 px-6 rounded-lg transition-all duration-200
text-white font-semibold py-3 px-8 rounded-lg transition-all duration-200
shadow-lg hover:shadow-emerald-500/25"
>
Connect {wallet.name}

View File

@ -29,11 +29,11 @@ const connectPhantom = async (): Promise<{ publicKey: string } | null> => {
}
export const SUPPORTED_WALLETS: WalletConfig[] = [
{
type: 'solflare',
name: 'Solflare',
connect: connectSolflare
},
// {
// type: 'solflare',
// name: 'Solflare',
// connect: connectSolflare
// },
{
type: 'phantom',
name: 'Phantom',