diff --git a/packages/widget-v2/src/pages/SwapPage/SwapPage.tsx b/packages/widget-v2/src/pages/SwapPage/SwapPage.tsx
index 71336017..e627be62 100644
--- a/packages/widget-v2/src/pages/SwapPage/SwapPage.tsx
+++ b/packages/widget-v2/src/pages/SwapPage/SwapPage.tsx
@@ -221,18 +221,19 @@ export const SwapPage = () => {
if (isRouteError) {
return ;
}
-
if (!sourceAccount?.address) {
- {
- selectWalletmodal.show({
- chainId: sourceAsset?.chainID,
- });
- }}
- />;
+ return (
+ {
+ selectWalletmodal.show({
+ chainId: sourceAsset?.chainID,
+ });
+ }}
+ />
+ );
}
if (insufficientBalance) {
return (