Update local storage key
This commit is contained in:
parent
dbe52f9607
commit
a8e16d360a
|
@ -9,7 +9,7 @@ const ConnectionContext = React.createContext(null);
|
|||
export const MAINNET_URL = 'https://solana-api.projectserum.com';
|
||||
export function ConnectionProvider({ children }) {
|
||||
const [endpoint, setEndpoint] = useLocalStorageState(
|
||||
'endpoint',
|
||||
'connectionEndpoint',
|
||||
MAINNET_URL,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue