tweb/src/environment/geolocationSupport.ts
Eduard Kuzmenko 2cb460ff3f some changes
2022-01-16 06:45:41 +04:00

4 lines
130 B
TypeScript

const IS_GEOLOCATION_SUPPORTED = !!navigator?.geolocation?.getCurrentPosition && false;
export default IS_GEOLOCATION_SUPPORTED;