Default to mainnet
This commit is contained in:
parent
cb32d5ec84
commit
e4d8626f6b
|
@ -9,7 +9,7 @@ const ConnectionContext = React.createContext(null);
|
|||
export function ConnectionProvider({ children }) {
|
||||
const [endpoint, setEndpoint] = useLocalStorageState(
|
||||
'endpoint',
|
||||
clusterApiUrl('devnet'),
|
||||
clusterApiUrl('mainnet-beta'),
|
||||
);
|
||||
|
||||
const connection = useMemo(() => new Connection(endpoint, 'single'), [
|
||||
|
|
Loading…
Reference in New Issue