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,8 +122,11 @@ export function useUniversalRouterSwapCallback(
|
||||
txHash: response.hash,
|
||||
...analyticsContext,
|
||||
})
|
||||
|
||||
if (!response.data || response.data.length === 0 || response.data === '0x') {
|
||||
throw new ModifiedSwapError()
|
||||
}
|
||||
}
|
||||
return response
|
||||
})
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user