7 lines
191 B
TypeScript
7 lines
191 B
TypeScript
![]() |
import { GlobalStateContext } from 'components/GlobalStateProvider'
|
||
|
import { useContext } from 'react'
|
||
|
|
||
|
export const useGlobalStateContext = () => {
|
||
|
return useContext(GlobalStateContext)
|
||
|
}
|