Skip to content

Commit ce66da7

Browse files
committed
Take id as key first
1 parent 3b4c22a commit ce66da7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,11 @@ function DashWrapper({
165165
}
166166
return (
167167
<DashWrapper
168-
key={stringifyPath(containerPath)}
168+
key={
169+
container?.props?.id
170+
? stringifyId(container.props.id)
171+
: stringifyPath(containerPath)
172+
}
169173
_dashprivate_error={_dashprivate_error}
170174
componentPath={containerPath}
171175
_passedComponent={container}

0 commit comments

Comments
 (0)