mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-01 22:16:40 +07:00
fixed typescript errors
This commit is contained in:
parent
9a7a038032
commit
fe311e7839
41 changed files with 786 additions and 777 deletions
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import { Map, TileLayer } from 'leaflet';
|
||||
|
||||
export const MapContext = React.createContext<Map>(null);
|
||||
export const TileContext = React.createContext<TileLayer>(null)
|
||||
export const MapContext = React.createContext<Map | undefined>(undefined);
|
||||
export const TileContext = React.createContext<TileLayer | undefined>(undefined)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue