Skip to content

Commit 5a68ecd

Browse files
committed
fix cbmo002
1 parent 232c3c0 commit 5a68ecd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dash/dash-renderer/src/wrapper/DashWrapper.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
pickBy,
66
equals,
77
keys,
8+
is,
89
isEmpty,
910
pick,
1011
assocPath,
@@ -406,7 +407,11 @@ function DashWrapper({
406407
return (
407408
<ComponentErrorBoundary
408409
componentType={component.type}
409-
componentId={componentProps.id}
410+
componentId={
411+
is(Object, componentProps.id)
412+
? stringifyId(componentProps.id)
413+
: componentProps.id
414+
}
410415
error={_dashprivate_error}
411416
dispatch={dispatch}
412417
>

0 commit comments

Comments
 (0)