wallet adjust

This commit is contained in:
CHIEFSOFT\ameye
2023-07-08 21:44:45 -04:00
parent 625928e34b
commit 72da5c707a
3 changed files with 408 additions and 1 deletions
+3 -1
View File
@@ -10,6 +10,7 @@ import AddFund from './AddFund'
import AddRecipient from './AddRecipient'
import ConfirmTransfer from './ConfirmTransfer'
import ConfirmAddFund from './ConfirmAddFund'
import WalletBox from "./WalletBox";
function Wallet() {
return (
@@ -71,7 +72,8 @@ const WalletRoutes = () => {
<Route path='add-fund' element={<AddFund payment={paymentHistory} />} />
<Route path='add-fund/confirm-add-fund' element={<ConfirmAddFund payment={paymentHistory} />} />
<Route path='transfer-fund' element={<TransferFund payment={paymentHistory} wallet={walletList} />} />
<Route index element={<Balance wallet={walletList} />} />
{/*<Route index element={<Balance wallet={walletList} />} />*/}
<Route index element={<WalletBox wallet={walletList} />} />
<Route path='transfer-fund/add-recipient' element={<AddRecipient />} />
<Route path='transfer-fund/confirm-transfer' element={<ConfirmTransfer payment={paymentHistory} wallet={walletList} />} />
<Route path='*' element={<Navigate to='/' />} />