close review trade modal after successful tx

This commit is contained in:
tjs 2022-08-08 11:44:25 -07:00
parent fab687ac87
commit 43089b195f
2 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,8 @@ const JupiterRoutes = ({
selectedRoute,
mangoAccount!.owner
)
handleSwap(ixs)
await handleSwap(ixs)
onClose()
}
return routes?.length && selectedRoute && outputTokenInfo ? (

View File

@ -129,7 +129,7 @@ const mangoStore = create<MangoStore>(
inputTokenInfo: undefined,
outputTokenInfo: undefined,
margin: true,
slippage: 0.1,
slippage: 0.5,
},
wallet: {
loadProfilePic: true,