Skip to content

Commit

Permalink
fix: disable when no routes found
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jul 22, 2022
1 parent adad66a commit 9ee7c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/widget/src/pages/MainPage/MainSwapButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const MainSwapButton: React.FC = () => {
<SwapButton
onClick={handleClick}
currentRoute={currentRoute}
loading={isLoading || isFetching}
loading={isLoading || isFetching || !currentRoute}
/>
);
};

0 comments on commit 9ee7c3a

Please sign in to comment.