This commit is contained in:
Mylloon 2024-09-27 16:34:36 +02:00
parent 1bc77efb2a
commit 4dad223f1b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -61,8 +61,6 @@ export const strToSeconds = (time: string) => {
let res = 0;
data.forEach((match) => {
console.log(match.groups);
Object.entries(match.groups!).forEach(([key, value]) => {
if (value) {
res += +value * TimeSecond[key as keyof typeof TimeSecond];