ChrQR
b8d543e1c1
Some checks failed
Docker Build & Publish / Build Docker (push) Failing after 1m10s
9 lines
330 B
TypeScript
9 lines
330 B
TypeScript
import { createContext } from 'react';
|
|
import { LocationContextType, coordType } from '@/types/types';
|
|
import { defaultGeoLocation } from '../app/defaultState';
|
|
|
|
export const LocationContext = createContext<LocationContextType>({
|
|
geoLocation: defaultGeoLocation,
|
|
setGeoLocation: () => {} // Default function, does nothing
|
|
});
|