mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-13 00:28:15 -05:00
6 lines
179 B
TypeScript
6 lines
179 B
TypeScript
import { useContext } from 'react';
|
|
|
|
import { Web3Context, Web3ContextType } from '#contexts/Web3Context';
|
|
|
|
export const useWeb3 = (): Web3ContextType => useContext(Web3Context);
|