Skip to content

Commit caf6445

Browse files
committed
feat(elevation): update hook name
1 parent 5a7efc7 commit caf6445

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/elevation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import useGoogleMap from './map-instance';
55
/**
66
* Hook to get Elevation Service instance
77
*/
8-
const useElevation = (): google.maps.ElevationService | null => {
8+
const useElevationService = (): google.maps.ElevationService | null => {
99
const {map} = useGoogleMap();
1010

1111
// Creates a Elevation Service instance
@@ -22,4 +22,4 @@ const useElevation = (): google.maps.ElevationService | null => {
2222
return elevationService;
2323
};
2424

25-
export default useElevation;
25+
export default useElevationService;

0 commit comments

Comments
 (0)