Skip to content

Commit 4b67283

Browse files
author
BryanSchroeder
committed
fixing other errors
1 parent 4d25329 commit 4b67283

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dash/dash-renderer/src/actions/callbacks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,11 +453,11 @@ function handleServerside(
453453
if (job) addArg('job', job);
454454

455455
// clear inputs as background callback doesnt need inputs, just verify for context
456-
const tmpBody = JSON.parse(new_body);
457-
for (let i = 0; i < tmp_body.inputs.length; i++) {
456+
const tmpBody = JSON.parse(newBody);
457+
for (let i = 0; i < tmpBody.inputs.length; i++) {
458458
tmpBody.inputs[i]['value'] = null;
459459
}
460-
for (let i = 0; i < (tmp_body?.state || []).length; i++) {
460+
for (let i = 0; i < (tmpBody?.state || []).length; i++) {
461461
tmpBody.state[i]['value'] = null;
462462
}
463463
newBody = JSON.stringify(tmpBody);

0 commit comments

Comments
 (0)