fix(#10336): invalid name conversion

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-03-19 22:31:18 +09:00
parent 1dfcca7b9c
commit 91e0e498eb
136 changed files with 136 additions and 136 deletions

View File

@@ -95,7 +95,7 @@ function toStories(component: string, location: string): string {
/>,
<property
key={<identifier name="template" />}
value={<literal value={`<${component.slice(0, -4)} />`} />}
value={<literal value={`<${identifier.name} />`} />}
kind="init"
/>,
]}