fix: smart contract wallets unsupported (#7226)
* fix: smart contract wallets unsupported * logging to amp * response was deleted
This commit is contained in:
parent
1c142bb71f
commit
1f6f1f1dbd
@ -122,7 +122,10 @@ export function useUniversalRouterSwapCallback(
|
||||
txHash: response.hash,
|
||||
...analyticsContext,
|
||||
})
|
||||
throw new ModifiedSwapError()
|
||||
|
||||
if (!response.data || response.data.length === 0 || response.data === '0x') {
|
||||
throw new ModifiedSwapError()
|
||||
}
|
||||
}
|
||||
return response
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user