Skip to content

Commit 168eeb9

Browse files
committed
BUGFIX: Component will mount working properly.
1 parent 7fa550b commit 168eeb9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

snippets/snippets.cson

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,12 @@ export default class ${1:componentName} extends Component {
6161
}
6262
}
6363
"""
64-
'componentWillMount method':
65-
'prefix': 'cpwm'
66-
'body': """componentWillMount($1) {
67-
$2
64+
'componentWillMount method':
65+
'prefix': 'cpwm'
66+
'body': """componentWillMount($1) {
67+
$2
6868
}
69-
70-
"""
69+
"""
7170
# React Redux
7271
'Component with redux':
7372
'prefix': 'rcredux'

0 commit comments

Comments
 (0)