Commit 11497176 authored by Moody Salem's avatar Moody Salem

`?` not necessary

parent e890afb8
......@@ -37,7 +37,7 @@ export class Route {
)
invariant(
typeof output === 'undefined' ||
(output?.isToken && pairs[pairs.length - 1].involvesToken(output)) ||
(output.isToken && pairs[pairs.length - 1].involvesToken(output)) ||
(output === ETHER && weth && pairs[pairs.length - 1].involvesToken(weth)),
'OUTPUT'
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment