Skip to content

Commit

Permalink
Merge pull request #731 from smartxworks/component-key
Browse files Browse the repository at this point in the history
fix: remove the useless component key
  • Loading branch information
tanbowensg authored Aug 20, 2024
2 parents b55df8d + 7e88dfe commit 552e8ba
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ export const ImplWrapperMain = React.forwardRef<HTMLDivElement, ImplWrapperProps
<Impl
data-sunmao-id={c.id}
ref={ref}
key={c.id}
{...omit(props, ['slotContext'])}
{...mergedProps}
slotsElements={slotElements}
Expand All @@ -185,7 +184,6 @@ export const ImplWrapperMain = React.forwardRef<HTMLDivElement, ImplWrapperProps

return (
<ComponentErrorBoundary
key={c.id}
componentId={c.id}
onRef={onRef}
onRecoverFromError={onRecoverFromError}
Expand Down

0 comments on commit 552e8ba

Please sign in to comment.