diff --git a/web/components/cluster/cluster-data-access.tsx b/web/components/cluster/cluster-data-access.tsx index 5dc8f1a..dbede23 100644 --- a/web/components/cluster/cluster-data-access.tsx +++ b/web/components/cluster/cluster-data-access.tsx @@ -46,9 +46,13 @@ const clusterAtom = atomWithStorage( 'solana-cluster', defaultClusters[0], ); + const clustersAtom = atomWithStorage( 'solana-clusters', - defaultClusters, + // in production only allow devnet + process.env.NODE_ENV === 'production' + ? [defaultClusters[0]] + : defaultClusters, ); const activeClustersAtom = atom((get) => {