From 1a2a8c72d95681696cd1e6f5cd133f26efe1f907 Mon Sep 17 00:00:00 2001 From: ngundotra Date: Tue, 9 Jan 2024 15:34:07 -0500 Subject: [PATCH] make devnet default, fix input arguments --- app/components/account/ProgramInterfaceCard.tsx | 2 +- app/providers/cluster.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/account/ProgramInterfaceCard.tsx b/app/components/account/ProgramInterfaceCard.tsx index ef81a1ba..2c9264c9 100644 --- a/app/components/account/ProgramInterfaceCard.tsx +++ b/app/components/account/ProgramInterfaceCard.tsx @@ -465,7 +465,7 @@ function MsaInstructionCard({ value={inputArgumentValues[key] || ''} onChange={e => { setInputArgumentValues({ - ...inputAccountValues, + ...inputArgumentValues, [key]: e.target.value, }); }} diff --git a/app/providers/cluster.tsx b/app/providers/cluster.tsx index deef8a2b..2d2a3946 100644 --- a/app/providers/cluster.tsx +++ b/app/providers/cluster.tsx @@ -61,7 +61,7 @@ function parseQuery(searchParams: ReadonlyURLSearchParams | null): Cluster { return Cluster.Testnet; case 'mainnet-beta': default: - return Cluster.MainnetBeta; + return Cluster.Devnet; } }