Skip to content

Commit c195e44

Browse files
authored
Merge pull request #9 from cantsdmr/patch-1
Add -props- parameter to the super call
2 parents a9b15b5 + ee969d4 commit c195e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/snippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"",
3434
"export default class ${1:} extends React.Component<${1:}Props, ${1:}State> {",
3535
" constructor(props: ${1:}Props) {",
36-
" super();",
36+
" super(props);",
3737
"",
3838
" this.state = {",
3939
" }",

0 commit comments

Comments
 (0)