diff --git a/packages/roomkit-react/src/Prebuilt/components/Polls/common/utils.ts b/packages/roomkit-react/src/Prebuilt/components/Polls/common/utils.ts index c1f8f2b3b8..35d1ec8e32 100644 --- a/packages/roomkit-react/src/Prebuilt/components/Polls/common/utils.ts +++ b/packages/roomkit-react/src/Prebuilt/components/Polls/common/utils.ts @@ -16,7 +16,7 @@ export const getFormattedTime = (milliseconds: number | undefined, precise = tru if (!precise && (hours || minutes)) { return formattedTime; } - formattedTime += `${minutes >= 1 ? Math.floor(seconds) : seconds.toFixed(3)}s`; + formattedTime += `${precise ? seconds.toFixed(3) : Math.floor(seconds)}s`; return formattedTime; };