fix for the build stage

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-07-12 14:06:42 +03:00
parent e244299465
commit 3ad84a886e
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB

View File

@ -192,8 +192,8 @@ export const useLiveBonds = (chainId, chainName) => {
inBaseToken: maxPayoutInBaseToken, inBaseToken: maxPayoutInBaseToken,
inQuoteToken: maxPayoutInQuoteToken, inQuoteToken: maxPayoutInQuoteToken,
}, },
}; }
}).sort((a, b) => (a.id > b.id ? -1 : 1)) || []; }).sort((a, b) => (a.id > b.id ? -1 : 1)) : [];
return { liveBonds, refetch }; return { liveBonds, refetch };
} }