better comment
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 18s
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 18s
This commit is contained in:
parent
bdca11a15c
commit
ab262152a6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue