diff --git a/src/components/WorkoutStats.tsx b/src/components/WorkoutStats.tsx index 85924ed..bd7bd62 100644 --- a/src/components/WorkoutStats.tsx +++ b/src/components/WorkoutStats.tsx @@ -1,12 +1,18 @@ -import React from 'react'; -import { stats, Workout, Intensity } from 'zwiftout'; -import { formatDuration } from './formatDuration'; -import styled from 'styled-components'; +import React from "react"; +import { stats, Workout, Intensity } from "zwiftout"; +import { formatDuration } from "./formatDuration"; +import styled from "styled-components"; -const formatIntensity = (intensity: Intensity): string => `${Math.round(intensity.value * 100)}%`; +const formatIntensity = (intensity: Intensity): string => + `${Math.round(intensity.value * 100)}%`; -const StatsLine: React.FC<{ label: string, value: string | number }> = ({ label, value }) => ( -