5 lines
151 B
TypeScript
5 lines
151 B
TypeScript
import { useContext } from 'react';
|
|
|
|
import { GlobalContext } from './globalContext';
|
|
|
|
export const useGlobalContext = () => useContext(GlobalContext); |