actually fix isNotUniswap logic
This commit is contained in:
parent
2339817170
commit
bd817083c9
@ -113,7 +113,7 @@ function V2PairMigration({
|
||||
const theme = useTheme()
|
||||
|
||||
const pairFactory = useSingleCallResult(pair, 'factory')
|
||||
const isNotUniswap = pairFactory.result?.[0] !== FACTORY_ADDRESS ?? false
|
||||
const isNotUniswap = pairFactory.result?.[0] && pairFactory.result[0] !== FACTORY_ADDRESS
|
||||
|
||||
const deadline = useTransactionDeadline() // custom from users settings
|
||||
const blockTimestamp = useCurrentBlockTimestamp()
|
||||
|
Loading…
Reference in New Issue
Block a user