diff --git a/src/components/duration.tsx b/src/components/duration.tsx index d20237e4..f5b6fbc2 100644 --- a/src/components/duration.tsx +++ b/src/components/duration.tsx @@ -6,8 +6,7 @@ import { formatDuration } from '../../v2'; * Output a string duration from a number of seconds * * @param {number} props.durationS - The number of seconds. - * @param {number} props.durationMs - The number of seconds. DEPRECATED: The "Ms" suffix is incorrect, use props.durationS instead. */ -export function Duration(props: {durationMs: number, durationS: number}) { - return {formatDuration(props.durationMs || props.durationS, 2)}; +export function Duration(props: {durationS: number}) { + return {formatDuration(props.durationS, 2)}; }