import { Link, useLocation, useNavigate } from "react-router-dom"; import Icons from "../Helpers/Icons"; import bank1 from "../../assets/images/bank-1.png"; import bank2 from "../../assets/images/bank-2.png"; import bank3 from "../../assets/images/bank-3.png"; import bank4 from "../../assets/images/bank-4.png"; import Accordion from "../Helpers/Accordion"; import { PriceFormatter } from "../Helpers/PriceFormatter"; export default function WalletHeader(props) { // debugger; //props.myWalletList.result_list let { pathname } = useLocation(); let navigate = useNavigate(); return ( <>
props.handlerBalance()} className="flex items-center lg:justify-between justify-center w-full h-full" >

Wallet

Wallet

    {props.myWalletList && props.myWalletList?.result_list?.length > 0 && props.myWalletList.result_list.map((value, index) => (
  • {value.description}

    {PriceFormatter(value.amount * 0.01, value.code)}

  • ))} {/*
  • */} {/*
    */} {/*
    */} {/* */} {/* */} {/*
    */} {/*
    */} {/*

    */} {/* MetaMask*/} {/*

    */} {/*
    */} {/*
    */} {/*
    */} {/*

    */} {/* 75,320 ETH*/} {/*

    */} {/*

    */} {/* (773.69 USD)*/} {/*

    */} {/*
    */} {/*
*/} {/**/} {/*
  • */} {/*
    */} {/*
    */} {/* */} {/* */} {/*
    */} {/*
    */} {/*

    */} {/* Coinbase Wallet*/} {/*

    */} {/*
    */} {/*
    */} {/*
    */} {/*

    */} {/* 56,124 ETH*/} {/*

    */} {/*

    */} {/* (773.69 USD)*/} {/*

    */} {/*
    */} {/*
  • */} {/**/} {/*
  • */} {/*
    */} {/*
    */} {/* */} {/* */} {/*
    */} {/*
    */} {/*

    */} {/* Bitski*/} {/*

    */} {/*
    */} {/*
    */} {/*
    */} {/*

    */} {/* 99,123 ETH*/} {/*

    */} {/*

    */} {/* (773.69 USD)*/} {/*

    */} {/*
    */} {/*
  • */} {/**/} {/*
  • */} {/*
    */} {/*
    */} {/* */} {/* */} {/*
    */} {/*
    */} {/*

    */} {/* WalletConnect*/} {/*

    */} {/*
    */} {/*
    */} {/*
    */} {/*

    */} {/* 43,728 ETH*/} {/*

    */} {/*

    */} {/* (773.69 USD)*/} {/*

    */} {/*
    */} {/* */} {/*
  • */}
    {/* */} { if (pathname == "/my-wallet") props.setBalanceDropdown.toggle(); else navigate("/my-wallet", { replace: true }); }} className="w-[122px] h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white" > Manage
    {/**/} {/*
    */} {/*

    */} {/* $ 234,435.34*/} {/*

    */} {/*
    */} {/**/}
    ); }