Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-orbs committed May 15, 2024
1 parent f291b91 commit f1574ae
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/lib/src/components/Components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion packages/lib/src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,6 @@ export const useFillWarning = () => {
if (feeOnTraferLoading) {
return translation.loading;
}

}, [
srcToken,
dstToken,
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 0 additions & 2 deletions packages/pancake/src/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -925,5 +925,3 @@ export const StyledModalHeaderTitle = styled(Typography)(({ theme }) => {
color: darkMode ? "#f4eeff" : "#280d5f",
};
});


0 comments on commit f1574ae

Please sign in to comment.