[web] Fix variable name

This commit is contained in:
Alain Nussbaumer 2024-04-27 06:46:02 +02:00
parent 5db55f66c1
commit 4a1b4575fe
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export default {
// Parse the lyrics
const regex =
/\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\] ?(?<text>.*)/u
raw.split('\n').forEach((item) => {
raw.split('\n').forEach((line) => {
const { text, minutes, seconds, hundredths } = regex.exec(line).groups
if (text) {
const verse = {