From e9869d93ca5adc1dc01967d547ae7f503c661c9c Mon Sep 17 00:00:00 2001 From: Atris Date: Mon, 9 Dec 2024 16:05:09 +0100 Subject: [PATCH] fix: lints --- src/pages/trade/ui/trade-row.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pages/trade/ui/trade-row.tsx b/src/pages/trade/ui/trade-row.tsx index 8579dfef..432fac7c 100644 --- a/src/pages/trade/ui/trade-row.tsx +++ b/src/pages/trade/ui/trade-row.tsx @@ -2,7 +2,6 @@ import { Trace } from '@/shared/api/server/book/types.ts'; import { getSymbolFromValueView } from '@penumbra-zone/getters/value-view'; import React from 'react'; import { ChevronRight } from 'lucide-react'; -import { Text } from '@penumbra-zone/ui/Text'; function formatPrice(price: string): string { const num = parseFloat(price); @@ -41,9 +40,7 @@ export const TradeRow = ({ backgroundImage: `linear-gradient(to right, ${bgColor} ${relativeSize}%, transparent ${relativeSize}%)`, }} > -
- {formatPrice(trace.price)} -
+
{formatPrice(trace.price)}
{formatNumber(trace.amount)}
{formatNumber(trace.total)}
@@ -51,6 +48,7 @@ export const TradeRow = ({
{/* Overlay that appears on hover */} + {/* eslint-disable-next-line react/no-unknown-property -- jsx is, in fact, a property */}