Skip to content

Commit 04fc346

Browse files
committed
additional component -> renderComponent adjustments
1 parent 6f744f0 commit 04fc346

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -498,13 +498,13 @@ function DashWrapper({
498498
memoizedKeys.current = {[renderH]: hydrated};
499499
}
500500

501-
return component ? (
501+
return renderComponent ? (
502502
<ComponentErrorBoundary
503-
componentType={component.type}
503+
componentType={renderComponent.type}
504504
componentId={
505-
is(Object, componentProps.id)
506-
? stringifyId(componentProps.id)
507-
: componentProps.id
505+
is(Object, renderComponentProps.id)
506+
? stringifyId(renderComponentProps.id)
507+
: renderComponentProps.id
508508
}
509509
error={_dashprivate_error}
510510
dispatch={dispatch}

0 commit comments

Comments
 (0)