Skip to content

Commit

Permalink
fix: fix problems caused by hoc priority
Browse files Browse the repository at this point in the history
  • Loading branch information
liujuping committed Oct 30, 2023
1 parent b3b2a03 commit bd19ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer-core/src/renderer/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ export default function baseRendererFactory(): IBaseRenderComponent {
*/
get __componentHOCs(): IComponentConstruct[] {
if (this.__designModeIsDesign) {
return [leafWrapper, compWrapper];
return [compWrapper, leafWrapper];
}
return [compWrapper];
}
Expand Down

0 comments on commit bd19ed3

Please sign in to comment.