Skip to content

Commit 5d2d458

Browse files
authored
Update componentRender.util.ts
1 parent f302d3c commit 5d2d458

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
@@ -181,7 +181,7 @@ const componentRender = (
181181
}
182182
${
183183
stateful && !classBased
184-
? `const [state, setState] = useState("INITIAL VALUE FOR STATE");`
184+
? `const [value, setValue] = useState("INITIAL VALUE");`
185185
: ``
186186
}
187187
${

0 commit comments

Comments
 (0)