Update local storage key

This commit is contained in:
Nishad 2020-08-30 21:44:56 +08:00
parent dbe52f9607
commit a8e16d360a
1 changed files with 1 additions and 1 deletions

View File

@ -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,
);