Rebuild packagae.json

This commit is contained in:
koalasat 2024-10-19 14:33:46 +02:00
parent c9f6a29861
commit 020ea1b63f
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157
2 changed files with 2 additions and 316 deletions

File diff suppressed because it is too large Load Diff

View File

@ -72,9 +72,9 @@ const DepthChart: React.FC<DepthChartProps> = ({
const limits = federation.getCoordinator(order.coordinatorShortAlias).limits;
const originalPrice =
(limits[order.currency].price ?? 0) * (1 + parseFloat(order.premium) / 100);
(limits[order.currency]?.price ?? 0) * (1 + parseFloat(order.premium) / 100);
const currencyPrice =
(limits[currencyCode].price ?? 0) * (1 + parseFloat(order.premium) / 100);
(limits[currencyCode]?.price ?? 0) * (1 + parseFloat(order.premium) / 100);
const originalAmount =
order.has_range && order.max_amount