diff --git a/packages/core/src/html/vueSlotSyntaxProcessor.ts b/packages/core/src/html/vueSlotSyntaxProcessor.ts
index da827fc071..a59f505560 100644
--- a/packages/core/src/html/vueSlotSyntaxProcessor.ts
+++ b/packages/core/src/html/vueSlotSyntaxProcessor.ts
@@ -65,21 +65,3 @@ export function transformOldSlotSyntax(node: MbNode) {
}
});
}
-
-export function renameSlot(node: MbNode, originalName: string, newName: string) {
- if (!node.children) {
- return;
- }
-
- node.children.forEach((child) => {
- const vslotShorthandName = getVslotShorthandName(child);
- if (vslotShorthandName && vslotShorthandName === originalName) {
- const newVslot = `#${newName}`;
-
- if (child.attribs) {
- child.attribs[newVslot] = '';
- delete child.attribs[`#${vslotShorthandName}`];
- }
- }
- });
-}