add transition to queue track list

This commit is contained in:
geoffrey45
2022-08-12 12:49:33 +03:00
parent 59905f7afe
commit a32d8fe66c
8 changed files with 66 additions and 32 deletions
+5 -2
View File
@@ -3,8 +3,11 @@
* @param seconds The seconds to convert
* @param long Whether to provide the time in the long format
*/
export default function formatSeconds(seconds: number, long?: boolean) {
if (seconds == undefined) {
export default function formatSeconds(
seconds: number | undefined,
long?: boolean
) {
if (seconds === undefined) {
return "00:00";
}