add missing previousGroupData

This commit is contained in:
Ean Milligan 2025-07-07 11:48:26 -04:00
parent 499c277fba
commit ad0aef6c94
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ export const handleGroup = (
} else {
// why did you put this in a group, that was entirely pointless
loggingEnabled && log(LT.LOG, `Solving commaPart: ${commaParts[0]}`);
const [tempData, tempCounts, tempDists] = tokenizeMath(commaParts[0], modifiers, previousResults, []);
const [tempData, tempCounts, tempDists] = tokenizeMath(commaParts[0], modifiers, previousResults, prevGrpReturnData);
const data = tempData[0];
loggingEnabled && log(LT.LOG, `Solved Math for Group is back ${JSON.stringify(data)} | ${JSON.stringify(tempCounts)} ${JSON.stringify(tempDists)}`);