Rename *GlobalState* to *SettingsAuth* (#1689)
This commit is contained in:
@ -1,6 +0,0 @@
|
||||
import { GlobalStateContext } from 'components/GlobalStateProvider'
|
||||
import { useContext } from 'react'
|
||||
|
||||
export const useGlobalStateContext = () => {
|
||||
return useContext(GlobalStateContext)
|
||||
}
|
6
src/hooks/useSettingsAuthContext.ts
Normal file
6
src/hooks/useSettingsAuthContext.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { SettingsAuthContext } from 'components/SettingsAuthProvider'
|
||||
import { useContext } from 'react'
|
||||
|
||||
export const useSettingsAuthContext = () => {
|
||||
return useContext(SettingsAuthContext)
|
||||
}
|
Reference in New Issue
Block a user