mirror of
https://github.com/Qortal/q-trade.git
synced 2025-06-19 12:41:21 +00:00
fix
This commit is contained in:
parent
138a21644f
commit
dbf2c0394c
@ -608,14 +608,14 @@ export const TradeOffers: React.FC<any> = ({
|
||||
const buyOrder = async () => {
|
||||
try {
|
||||
|
||||
// if (+foreignCoinBalance < +selectedTotalLTC.toFixed(4)) {
|
||||
// setOpen(true);
|
||||
// setInfo({
|
||||
// type: "error",
|
||||
// message: `You don't have enough ${getCoinLabel()} or your balance was not retrieved`,
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
if (+foreignCoinBalance < +selectedTotalLTC.toFixed(8)) {
|
||||
setOpen(true);
|
||||
setInfo({
|
||||
type: "error",
|
||||
message: `You don't have enough ${getCoinLabel()} or your balance was not retrieved`,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
if (selectedOffers?.length < 1) return;
|
||||
let offersWithKnownFees = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user