mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
5 lines
177 B
TypeScript
5 lines
177 B
TypeScript
import { Web3Context, Web3ContextType } from 'contexts/Web3Context';
|
|
import { useContext } from 'react';
|
|
|
|
export const useWeb3 = (): Web3ContextType => useContext(Web3Context);
|