diff --git a/src/store/singing.ts b/src/store/singing.ts index 76daa50cfa..9ccec8e46d 100644 --- a/src/store/singing.ts +++ b/src/store/singing.ts @@ -1790,7 +1790,7 @@ export const singingStore = createPartialStore({ phraseFirstRestMinDurationSeconds: number, trackId: TrackId, ) => { - const generatePhrases = new Map(); + const generatedPhrases = new Map(); let phraseNotes: Note[] = []; let prevPhraseLastNote: Note | undefined = undefined; @@ -1827,7 +1827,7 @@ export const singingStore = createPartialStore({ startTime: phraseStartTime, trackId, }); - generatePhrases.set(phraseKey, { + generatedPhrases.set(phraseKey, { firstRestDuration: phraseFirstRestDuration, notes: phraseNotes, startTime: phraseStartTime, @@ -1841,7 +1841,7 @@ export const singingStore = createPartialStore({ } } } - return generatePhrases; + return generatedPhrases; }; const generateQuerySource = (