Skip to content

Commit 504c824

Browse files
committed
fix side update non-existing output
1 parent 8bebf83 commit 504c824

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,11 @@ function sideUpdate(outputs: SideUpdateOutput, cb: ICallbackPayload) {
414414
dispatch(updateComponent(id, idProps, cb));
415415

416416
const componentPath = getPath(state.paths, id);
417+
if (!componentPath) {
418+
// Component doesn't exist, doesn't matter just allow the
419+
// callback to continue.
420+
return;
421+
}
417422
const oldComponent = getComponentLayout(componentPath, state);
418423

419424
dispatch(

0 commit comments

Comments
 (0)