From f0a7dd0640cd8638147bd02e71ada8bf873bc70f Mon Sep 17 00:00:00 2001 From: bonomat Date: Mon, 15 Nov 2021 09:00:13 +1100 Subject: [PATCH] Remove liquidation price from main screen. The current shown liquidation price only makes sense if the trader goes long. If she were to go short, the liquidation price should be different. With the current setup we can't know whether the trader wants to go long or short, hence we can't show the correct liquidation price --- taker-frontend/src/components/Trade.tsx | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/taker-frontend/src/components/Trade.tsx b/taker-frontend/src/components/Trade.tsx index 256d4e0..d95b08b 100644 --- a/taker-frontend/src/components/Trade.tsx +++ b/taker-frontend/src/components/Trade.tsx @@ -146,9 +146,6 @@ const Trade = ( - - -
); } - -interface LiquidationProps { - value?: string; -} - -function Liquidation({ value }: LiquidationProps) { - return ( - - - Liquidation price: - {value || "0.0"} - - - You will lose your collateral if the price drops below this value - - - ); -}