mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-03-17 00:32:20 +03:00
fix non-format eslint in src/
This commit is contained in:
@@ -7,8 +7,8 @@ export function getFormattedTime(totalSeconds: number): string {
|
||||
let secondsDisplay = seconds.toFixed(3);
|
||||
if (seconds < 10) {
|
||||
//add a zero
|
||||
secondsDisplay = '0' + secondsDisplay;
|
||||
secondsDisplay = `0${secondsDisplay}`;
|
||||
}
|
||||
|
||||
return minutes + ':' + secondsDisplay;
|
||||
return `${minutes}:${secondsDisplay}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user