fix suggested tiers edit
This commit is contained in:
parent
92a2b79778
commit
d2fd65fc23
|
@ -42,6 +42,7 @@ import Loading from '@components/shared/Loading'
|
||||||
import Label from '@components/forms/Label'
|
import Label from '@components/forms/Label'
|
||||||
import Input from '@components/forms/Input'
|
import Input from '@components/forms/Input'
|
||||||
import Switch from '@components/forms/Switch'
|
import Switch from '@components/forms/Switch'
|
||||||
|
import { PublicKey } from '@metaplex-foundation/js'
|
||||||
|
|
||||||
const DashboardSuggestedValues = ({
|
const DashboardSuggestedValues = ({
|
||||||
isOpen,
|
isOpen,
|
||||||
|
@ -211,7 +212,10 @@ const DashboardSuggestedValues = ({
|
||||||
)
|
)
|
||||||
.accounts({
|
.accounts({
|
||||||
group: group!.publicKey,
|
group: group!.publicKey,
|
||||||
fallbackOracle: bank.fallbackOracle,
|
fallbackOracle:
|
||||||
|
bank.fallbackOracle && tryGetPubKey(bank.fallbackOracle.toBase58())
|
||||||
|
? bank.fallbackOracle
|
||||||
|
: PublicKey.default,
|
||||||
oracle: bank.oracle,
|
oracle: bank.oracle,
|
||||||
admin: MANGO_DAO_WALLET,
|
admin: MANGO_DAO_WALLET,
|
||||||
mintInfo: mintInfo.publicKey,
|
mintInfo: mintInfo.publicKey,
|
||||||
|
|
Loading…
Reference in New Issue