Skip to content

Commit c329eb6

Browse files
chenglouvjeux
authored andcommitted
docs classSet semicolons missing
1 parent 215988f commit c329eb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/09.3-class-name-manipulation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ render: function() {
2222
classString += ' message-read';
2323
}
2424
// 'message message-important message-read'
25-
return <div className={classString}>Great, I'll be there.</div>
25+
return <div className={classString}>Great, I'll be there.</div>;
2626
}
2727
```
2828
@@ -35,9 +35,9 @@ render: function() {
3535
'message': true,
3636
'message-important': this.props.isImportant,
3737
'message-read': this.props.isRead
38-
})
38+
});
3939
// same final string, but much cleaner
40-
return <div className={classes}>Great, I'll be there.</div>
40+
return <div className={classes}>Great, I'll be there.</div>;
4141
}
4242
```
4343

0 commit comments

Comments
 (0)