diff --git a/src/components/wallet/UserAssets.js b/src/components/wallet/UserAssets.js index fec543c..b5e72b2 100644 --- a/src/components/wallet/UserAssets.js +++ b/src/components/wallet/UserAssets.js @@ -6,15 +6,15 @@ import { FaEthereum } from 'react-icons/fa'; import AssetsValues from './AssetsValues'; function UserAssets() { - // Keep track of the switch state + // keep track of the switch state const [isSwitched, setIsSwitched] = useState(false); - // Switch handler + // switch handler const switchHandler = () => { setIsSwitched(!isSwitched); }; - // Memoized values for deposit and withdraw sections + // memoized values for deposit and withdraw sections const depositSection = useMemo( () => ( - {/* Conditionally render deposit or withdraw section */} + {/* conditionally render deposit or withdraw section */} {isSwitched ? withdrawSection : depositSection}