This reverts commit 602e7afef6
.
This commit is contained in:
6
src/hooks/useGlobalStateContext.ts
Normal file
6
src/hooks/useGlobalStateContext.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { GlobalStateContext } from 'components/GlobalStateProvider'
|
||||
import { useContext } from 'react'
|
||||
|
||||
export const useGlobalStateContext = () => {
|
||||
return useContext(GlobalStateContext)
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
import { SettingsAuthStateContext } from 'components/SettingsAuthStateProvider'
|
||||
import { useContext } from 'react'
|
||||
|
||||
export const useSettingsAuthContext = () => {
|
||||
return useContext(SettingsAuthStateContext)
|
||||
}
|
Reference in New Issue
Block a user