From f1574aed4ea6227e9ae372bac4d771a6fe64ea5c Mon Sep 17 00:00:00 2001 From: denis-orbs Date: Wed, 15 May 2024 16:24:53 +0300 Subject: [PATCH] a --- packages/lib/src/components/Components.tsx | 4 ++-- packages/lib/src/hooks.ts | 1 - packages/lib/src/i18n/en.json | 2 +- packages/pancake/src/styles.tsx | 2 -- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/lib/src/components/Components.tsx b/packages/lib/src/components/Components.tsx index de02ce56..c4c2e928 100644 --- a/packages/lib/src/components/Components.tsx +++ b/packages/lib/src/components/Components.tsx @@ -513,8 +513,8 @@ export const SubmitButton = ({ className = "", isMain }: { className?: string; i ); }; -export const FeeOnTranferWarning = ({className = ''}:{className?: string}) => { - const { hasFeeOnTransfer } = useFeeOnTranserWarning(); +export const FeeOnTranferWarning = ({ className = "" }: { className?: string }) => { + const { hasFeeOnTransfer } = useFeeOnTranserWarning(); if (!hasFeeOnTransfer) return null; diff --git a/packages/lib/src/hooks.ts b/packages/lib/src/hooks.ts index 19c5565e..32d8759f 100644 --- a/packages/lib/src/hooks.ts +++ b/packages/lib/src/hooks.ts @@ -1416,7 +1416,6 @@ export const useFillWarning = () => { if (feeOnTraferLoading) { return translation.loading; } - }, [ srcToken, dstToken, diff --git a/packages/lib/src/i18n/en.json b/packages/lib/src/i18n/en.json index 10194e95..15a75371 100644 --- a/packages/lib/src/i18n/en.json +++ b/packages/lib/src/i18n/en.json @@ -97,5 +97,5 @@ "view": "View", "noLiquidity": "Insufficient liquidity for this trade", "outAmountLoading": "Searching for the best price", - "feeOnTranferWarning":"Fee on transfer tokens are not supported" + "feeOnTranferWarning": "Fee on transfer tokens are not supported" } diff --git a/packages/pancake/src/styles.tsx b/packages/pancake/src/styles.tsx index ee25378b..3deba59f 100644 --- a/packages/pancake/src/styles.tsx +++ b/packages/pancake/src/styles.tsx @@ -925,5 +925,3 @@ export const StyledModalHeaderTitle = styled(Typography)(({ theme }) => { color: darkMode ? "#f4eeff" : "#280d5f", }; }); - -