drop dead code
This commit is contained in:
parent
ffb988bebb
commit
97b4b810b6
@ -1,15 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
|
|
||||||
type UserContextType = {
|
|
||||||
context: string | null,
|
|
||||||
setContext: React.Dispatch<React.SetStateAction<string | null>>
|
|
||||||
}
|
|
||||||
|
|
||||||
const iUserContextState = {
|
|
||||||
context: null,
|
|
||||||
setContext: () => {}
|
|
||||||
}
|
|
||||||
|
|
||||||
const UserContext = React.createContext<UserContextType>(iUserContextState)
|
|
||||||
|
|
||||||
export default UserContext
|
|
@ -1,15 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
|
|
||||||
type MapLayerContextType = {
|
|
||||||
context: 'enabled' | 'disabled',
|
|
||||||
setContext: React.Dispatch<React.SetStateAction<string | null>>
|
|
||||||
}
|
|
||||||
|
|
||||||
const iMapLayerContextType = {
|
|
||||||
context: null,
|
|
||||||
setContext: () => {}
|
|
||||||
}
|
|
||||||
|
|
||||||
const MapLayerContext = React.createContext<MapLayerContextType>(iMapLayerContextType)
|
|
||||||
|
|
||||||
export default MapLayerContext
|
|
Loading…
Reference in New Issue
Block a user