Skip to content

Commit

Permalink
fix: show routes with disconnected wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jul 15, 2022
1 parent 432ebf4 commit f875f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/widget/src/hooks/useSwapRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const useSwapRoutes = () => {
const [fromTokenAmount] = useDebouncedWatch([SwapFormKey.FromAmount], 250);
const { token } = useToken(fromChainId, fromTokenAddress);
const isEnabled =
Boolean(account.address) &&
// Boolean(account.address) &&
!isNaN(fromChainId) &&
!isNaN(toChainId) &&
Boolean(fromTokenAddress) &&
Expand Down

0 comments on commit f875f4e

Please sign in to comment.