Skip to content

Commit

Permalink
update UiInstruction obj
Browse files Browse the repository at this point in the history
  • Loading branch information
sjillen committed Dec 15, 2021
1 parent 694e681 commit d8bbb71
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const DepositInsuranceToMangoDepository = ({
const obj: UiInstruction = {
serializedInstruction,
isValid,
governedAccount: form.governedAccount?.governance,
governance: form.governedAccount?.governance,
}
return obj
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const InitializeController = ({
const obj: UiInstruction = {
serializedInstruction,
isValid,
governedAccount: form.governedAccount?.governance,
governance: form.governedAccount?.governance,
}
return obj
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const RegisterMangoDepository = ({
const obj: UiInstruction = {
serializedInstruction,
isValid,
governedAccount: form.governedAccount?.governance,
governance: form.governedAccount?.governance,
}
return obj
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const SetMangoDepositoriesRedeemableSoftCap = ({
const obj: UiInstruction = {
serializedInstruction,
isValid,
governedAccount: form.governedAccount?.governance,
governance: form.governedAccount?.governance,
}
return obj
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const SetRedeemGlobalSupplyCap = ({
const obj: UiInstruction = {
serializedInstruction,
isValid,
governedAccount: form.governedAccount?.governance,
governance: form.governedAccount?.governance,
}
return obj
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const WithdrawInsuranceFromMangoDepository = ({
const obj: UiInstruction = {
serializedInstruction,
isValid,
governedAccount: form.governedAccount?.governance,
governance: form.governedAccount?.governance,
}
return obj
}
Expand Down

1 comment on commit d8bbb71

@vercel
Copy link

@vercel vercel bot commented on d8bbb71 Dec 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.