Skip to content

Commit 393b774

Browse files
committed
Refactored code that was thwarting multiple props to be imported
1 parent 6d2ab24 commit 393b774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/componentRender.util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const componentRender = (
179179
180180
/* Replace "any" with stricter types to reflect your usage*/
181181
interface Props {
182-
${props.map(prop => `${prop.key}: ${typeSwitcher(prop.type)};\n`)}
182+
${props.map(prop => `${prop.key}: ${typeSwitcher(prop.type)}\n`)}
183183
};
184184
185185
${

0 commit comments

Comments
 (0)