Reformat files with updated prettier

This commit is contained in:
Linus Groh
2021-05-28 17:37:35 +01:00
parent 69094e240e
commit 4031bda2f0
2 changed files with 3 additions and 5 deletions
+2 -3
View File
@@ -201,9 +201,8 @@ const getLocationHistory = async ({ commit, state }) => {
}
commit(types.SET_LOCATION_HISTORY, locationHistory);
if (config.showDistanceTravelled) {
const { distanceTravelled, elevationGain, elevationLoss } = _getTravelStats(
locationHistory
);
const { distanceTravelled, elevationGain, elevationLoss } =
_getTravelStats(locationHistory);
commit(types.SET_DISTANCE_TRAVELLED, distanceTravelled);
commit(types.SET_ELEVATION_GAIN, elevationGain);
commit(types.SET_ELEVATION_LOSS, elevationLoss);