fix when creating new mango accoung
This commit is contained in:
parent
dd074685e3
commit
5c44d1fd34
|
@ -19,6 +19,7 @@ import Slider from './Slider'
|
|||
import Tooltip from './Tooltip'
|
||||
import { notify } from '../utils/notifications'
|
||||
import { deposit } from '../utils/mango'
|
||||
import { PublicKey } from '@solana/web3.js'
|
||||
|
||||
interface NewAccountProps {
|
||||
onAccountCreation?: (x?) => void
|
||||
|
@ -70,6 +71,8 @@ const NewAccount: FunctionComponent<NewAccountProps> = ({
|
|||
actions.fetchWalletTokens()
|
||||
actions.fetchMangoAccounts()
|
||||
setSubmitting(false)
|
||||
console.log('response', response)
|
||||
|
||||
onAccountCreation(response)
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
|
@ -995,7 +995,7 @@
|
|||
|
||||
"@blockworks-foundation/mango-client@git+https://github.com/blockworks-foundation/mango-client-v3.git":
|
||||
version "3.0.4"
|
||||
resolved "git+https://github.com/blockworks-foundation/mango-client-v3.git#e25f4f19f8fa5fcfdfe548961d9c5877e35a493e"
|
||||
resolved "git+https://github.com/blockworks-foundation/mango-client-v3.git#08f24c0ac8f68b3acc4252ae1c4c5555c95fa795"
|
||||
dependencies:
|
||||
"@project-serum/serum" "0.13.55"
|
||||
"@project-serum/sol-wallet-adapter" "^0.2.0"
|
||||
|
|
Loading…
Reference in New Issue