close review trade modal after successful tx
This commit is contained in:
parent
fab687ac87
commit
43089b195f
|
@ -72,7 +72,8 @@ const JupiterRoutes = ({
|
|||
selectedRoute,
|
||||
mangoAccount!.owner
|
||||
)
|
||||
handleSwap(ixs)
|
||||
await handleSwap(ixs)
|
||||
onClose()
|
||||
}
|
||||
|
||||
return routes?.length && selectedRoute && outputTokenInfo ? (
|
||||
|
|
|
@ -129,7 +129,7 @@ const mangoStore = create<MangoStore>(
|
|||
inputTokenInfo: undefined,
|
||||
outputTokenInfo: undefined,
|
||||
margin: true,
|
||||
slippage: 0.1,
|
||||
slippage: 0.5,
|
||||
},
|
||||
wallet: {
|
||||
loadProfilePic: true,
|
||||
|
|
Loading…
Reference in New Issue