Fix class/className JSX
This commit is contained in:
parent
0ee48597d8
commit
4c41b1fdba
@ -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>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user