From 3dda0ca70f63724e1aa2937726c1a14752516beb Mon Sep 17 00:00:00 2001 From: unbreakablery Date: Thu, 11 Aug 2022 22:10:32 +0900 Subject: [PATCH] fix: stop loss ui --- src/features/stop-loss/LimitPriceInputPanel.tsx | 6 +++++- src/features/stop-loss/StopLimitOrderButton.tsx | 4 ++-- src/features/stop-loss/StopPriceInputPanel.tsx | 6 +++++- src/pages/stop-loss/[[...tokens]].tsx | 8 ++++++++ 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/src/features/stop-loss/LimitPriceInputPanel.tsx b/src/features/stop-loss/LimitPriceInputPanel.tsx index 3672d1f96e..9401ffc5c6 100644 --- a/src/features/stop-loss/LimitPriceInputPanel.tsx +++ b/src/features/stop-loss/LimitPriceInputPanel.tsx @@ -25,7 +25,11 @@ const LimitPriceInputPanel: FC = ({ trade, limitPrice }) =
{i18n._(t`Minimum Rate`)} - +
diff --git a/src/features/stop-loss/StopLimitOrderButton.tsx b/src/features/stop-loss/StopLimitOrderButton.tsx index e2ceebccab..ba6e43a40b 100644 --- a/src/features/stop-loss/StopLimitOrderButton.tsx +++ b/src/features/stop-loss/StopLimitOrderButton.tsx @@ -116,9 +116,9 @@ const StopLimitOrderButton: FC = ({ trade, parsedAmounts } {error ? error : tooNarrowMarginOfRates - ? 'Too narrow margin of rates' + ? 'Rate diff not enough for fee' : fromBentoBalance - ? i18n._(t`Review Stop Limit Order`) + ? i18n._(t`Create Stop Limit Order`) : i18n._(t`Confirm Deposit`)} ) diff --git a/src/features/stop-loss/StopPriceInputPanel.tsx b/src/features/stop-loss/StopPriceInputPanel.tsx index 977987501e..c6a953a241 100644 --- a/src/features/stop-loss/StopPriceInputPanel.tsx +++ b/src/features/stop-loss/StopPriceInputPanel.tsx @@ -25,7 +25,11 @@ const StopPriceInputPanel: FC = ({ trade, stopPrice }) => {
{i18n._(t`Stop Rate`)} - +
diff --git a/src/pages/stop-loss/[[...tokens]].tsx b/src/pages/stop-loss/[[...tokens]].tsx index 8a233db8db..791f166a05 100644 --- a/src/pages/stop-loss/[[...tokens]].tsx +++ b/src/pages/stop-loss/[[...tokens]].tsx @@ -179,6 +179,14 @@ const StopLoss = () => {
{isExpertMode && } + +
+ Powered by  + + Autonomy Network + +
+