Merge pull request #1554 from RoboSats/rebuil-package-json

Rebuild packagae.json
This commit is contained in:
KoalaSat 2024-10-19 12:34:29 +00:00 committed by GitHub
commit db4ae21fa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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