mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
add transition to queue track list
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user