drop dead code

This commit is contained in:
Mateusz Konieczny 2022-12-07 17:43:22 +01:00
parent ffb988bebb
commit 97b4b810b6
2 changed files with 0 additions and 30 deletions

View File

@ -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

View File

@ -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