diff --git a/src/components/MyWallet/FamilyWalletBox.jsx b/src/components/MyWallet/FamilyWalletBox.jsx index 05cba56..6aed94e 100644 --- a/src/components/MyWallet/FamilyWalletBox.jsx +++ b/src/components/MyWallet/FamilyWalletBox.jsx @@ -5,6 +5,8 @@ import WalletItemCardFamily from "./WalletItemCardFamily"; import { useState } from "react"; import { PriceFormatter } from "../Helpers/PriceFormatter"; import SearchCom from "../Helpers/SearchCom"; +import { localImgLoad } from "../../lib"; +import background from "../../assets/images/bg-sky-blue.jpg"; /** * Renders a list of wallet items or a loading spinner depending on the state of the `wallet` object. @@ -36,6 +38,9 @@ export default function FamilyWalletBox({ wallet, payment, countries }) { // setFilteredRedeemData({value:target.value, data: filteredData}) } + const image = selectedWallet.code + ? `${selectedWallet.code.toLowerCase()}.svg` + : "default.png"; return ( @@ -55,15 +60,23 @@ export default function FamilyWalletBox({ wallet, payment, countries }) { ))} -
Current Balance
-{PriceFormatter(selectedWallet?.amount/100, selectedWallet?.code)}
+Current Balance
++ {PriceFormatter(selectedWallet?.amount/100, selectedWallet?.code, undefined, "text-[2rem]")} +