Merge branch 'walletbox-bug' of WrenchBoard/Users-Wrench into master
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
import usersService from "../../../services/UsersService";
|
import usersService from "../../../services/UsersService";
|
||||||
import LoadingSpinner from "../../Spinners/LoadingSpinner";
|
import LoadingSpinner from "../../Spinners/LoadingSpinner";
|
||||||
|
import {PriceFormatter} from '../../Helpers/PriceFormatter'
|
||||||
|
|
||||||
export default function LockJob({
|
export default function LockJob({
|
||||||
details,
|
details,
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export default function WalletBox({ wallet, payment, countries }) {
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="w-auto grid md:grid-cols-2 xxl:grid-cols-3 gap-4 md:gap-10">
|
<div className="w-auto grid md:grid-cols-2 xxl:grid-cols-3 gap-4 md:gap-10">
|
||||||
{ data.length > 0 && data.map((item, index) => (
|
{ data?.length > 0 && data.map((item, index) => (
|
||||||
<div key={item.wallet_uid+index} className="w-full h-full">
|
<div key={item.wallet_uid+index} className="w-full h-full">
|
||||||
{item.country ?
|
{item.country ?
|
||||||
<WalletItemCard walletItem={item} payment={payment} countries={countries} />
|
<WalletItemCard walletItem={item} payment={payment} countries={countries} />
|
||||||
|
|||||||
Reference in New Issue
Block a user