Skip to content

Commit d4de748

Browse files
committed
refactor(prompt): remove unnecessary onRender function from component selection prompt
1 parent 0119278 commit d4de748

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/utils/promptForComponents.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ export const promptUserForComponents = async (
1717
name: "components",
1818
message: "Select the components you want to add",
1919
choices: allComponents.map((c: Component) => ({ title: c.name, value: c.value })),
20-
onRender() {
21-
// @ts-ignore
22-
this.msg = "Select the components you want to add";
23-
},
2420
});
2521
return components;
2622
};

0 commit comments

Comments
 (0)