File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/components/SwapForm/SwapModal Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ export default function ConfirmSwapModalContent({
93
93
const [ honeypot , setHoneypot ] = useState < { isHoneypot : boolean ; isFOT : boolean ; tax : number } | null > ( null )
94
94
useEffect ( ( ) => {
95
95
if ( ! currencyIn ?. wrapped . address ) return
96
- console . log ( 'xxx' )
97
96
fetch (
98
97
`${ TOKEN_API_URL } /v1/public/tokens/honeypot-fot-info?address=${ currencyIn . wrapped . address . toLowerCase ( ) } &chainId=${ chainId } ` ,
99
98
)
@@ -127,7 +126,7 @@ export default function ConfirmSwapModalContent({
127
126
if ( honeypot ?. isFOT ) {
128
127
return (
129
128
< Text >
130
- This token has a Fee-on-Transfer. Please increase the slippage to at least { honeypot . tax } % to proceed.
129
+ This token has a Fee-on-Transfer. Please increase the slippage to at least { honeypot . tax * 100 } % to proceed.
131
130
</ Text >
132
131
)
133
132
}
You can’t perform that action at this time.
0 commit comments