This commit is contained in:
tjs 2023-01-02 17:21:56 -05:00
parent de80d92b9a
commit 6e5eb6b4fe
1 changed files with 1 additions and 1 deletions

View File

@ -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))