type fix
This commit is contained in:
parent
de80d92b9a
commit
6e5eb6b4fe
|
@ -59,7 +59,7 @@ const CreateAccountForm = ({
|
|||
8 // perpOoCount
|
||||
)
|
||||
if (tx) {
|
||||
const pk = wallet!.adapter.publicKey
|
||||
const pk = wallet.adapter.publicKey
|
||||
const mangoAccounts = await client.getMangoAccountsForOwner(group, pk!)
|
||||
const reloadedMangoAccounts = await Promise.all(
|
||||
mangoAccounts.map((ma) => ma.reloadAccountData(client))
|
||||
|
|
Loading…
Reference in New Issue