Fix class/className JSX

This commit is contained in:
Tom Russell 2018-10-25 13:49:02 +01:00
parent 0ee48597d8
commit 4c41b1fdba

View File

@ -268,8 +268,8 @@ const NumberInput = (props) => (
const LikeButton = (props) => (
<Fragment>
<p class="likes">{(props.value)? props.value : 0} likes</p>
<button class="btn btn-success btn-like" onClick={props.handleLike}>Like this building!</button>
<p className="likes">{(props.value)? props.value : 0} likes</p>
<button className="btn btn-success btn-like" onClick={props.handleLike}>Like this building!</button>
</Fragment>
);