Skip to content

Commit 48061d3

Browse files
committed
Linter formating
1 parent 892d21f commit 48061d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils/numbers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ export const formatPlayTime = (time: number) => {
1414
playTimeSeconds %= 60;
1515

1616
return `${String(days).padStart(2, "0")}:${String(hours).padStart(2, "0")}:${String(minutes).padStart(2, "0")}:${String(Math.trunc(playTimeSeconds)).padStart(2, "0")}`;
17-
};
17+
};

src/utils/string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ export function truncateString(
77
return str;
88
}
99
return `${str.substring(0, frontLen)}...${str.substring(str.length - backLen)}`;
10-
}
10+
}

0 commit comments

Comments
 (0)