Skip to content

Commit 3c0fdad

Browse files
fix: 🔧 adds name change from snake case to camel case (#18)
1 parent 1b9e3b8 commit 3c0fdad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/geolocations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function haversineDistanceMeters(
7777
* @param trackPoints - Array of track points with lat/long coordinates
7878
* @returns ICoordinates containing the centroid's latitude and longitude, or null if array is empty
7979
*/
80-
export function calculate_centroid(trackPoints: ICoordinates[]): ICoordinates | null {
80+
export function calculateCentroid(trackPoints: ICoordinates[]): ICoordinates | null {
8181
let coordinates: ICoordinates | null;
8282

8383
if (trackPoints.length === 0) {

0 commit comments

Comments
 (0)