Skip to content

Commit 5d12b00

Browse files
Super-RzJackLian
authored andcommitted
fix: createIcon props (#2629)
* fix: createIcon props * fix: createIcon props
1 parent 6a0d1e2 commit 5d12b00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/designer/src/builtin-simulator/bem-tools/border-selecting.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function createAction(content: ReactNode | ComponentType<any> | IPublicTypeActio
143143
});
144144
}}
145145
>
146-
{icon && createIcon(icon)}
146+
{icon && createIcon(icon, { key, node: node.internalToShellNode() })}
147147
<Tip>{title}</Tip>
148148
</div>
149149
);

0 commit comments

Comments
 (0)