Skip to content

Conversation

Sakshamb24
Copy link

The GeoLocationSensorState type is used in consumer apps that rely on the useGeolocation hook from react-use.
This PR adds it to the package entry point so it can be imported from 'react-use' directly.

Before:
import { GeoLocationSensorState } from 'react-use'; // Module not found

After:
import { GeoLocationSensorState } from 'react-use'; // Works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant