Skip to content

Commit 09ad921

Browse files
hovancikCopilot
andauthored
Update app/utils/utils.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent dc64a86 commit 09ad921

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/utils/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function formatUnitAndValue (unit, value, i18next) {
2525
if (value < 60) {
2626
return i18next.t('utils.seconds', { count: parseInt(value) })
2727
} else {
28-
const val = parseFloat(value / 60).toFixed(1)
28+
const val = parseFloat((value / 60).toFixed(1))
2929
if (val % 1 === 0) {
3030
return i18next.t('utils.minutes', { count: parseInt(val) })
3131
} else {

0 commit comments

Comments
 (0)