better comment
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 18s

This commit is contained in:
Mylloon 2024-09-27 16:45:35 +02:00
parent bdca11a15c
commit ab262152a6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -38,7 +38,7 @@ enum TimeSecond {
*/
export const strToSeconds = (time: string) => {
if (time.length > 15) {
// 15 is a magic value, weird to be this long
// 15 is a magic value as it's weird to have time this long
return -1;
}