fix type issues on build

This commit is contained in:
Maximilian Schneider 2022-08-17 15:23:11 +02:00
parent e18a4ba1cd
commit 8ff82eb75a
1 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ const useMangoStore = create<MangoStore>((set, get) => ({
connection,
new PublicKey(IDS[cluster].mango_program_id),
selectedMangoGroup,
wallet
wallet as any
)
if (usersMangoSrmAccounts.length) {
set((state) => {
@ -270,7 +270,7 @@ const useMangoStore = create<MangoStore>((set, get) => ({
connection,
new PublicKey(programId),
mangoGroup,
wallet
wallet as any
)
.then((marginAccounts) => {
if (marginAccounts.length > 0) {