Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

Commit

Permalink
forgot to bind the onClick handler to the element
Browse files Browse the repository at this point in the history
fbshipit-source-id: bd160f3
  • Loading branch information
jimmylee authored and expbot committed Apr 19, 2017
1 parent 28868e2 commit fc2ab10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui/components/StatusItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ class StatusItem extends Component {

render() {
return (
<span className={css(Styles.container)} style={this.props.style}>
<span
className={css(Styles.container)}
style={this.props.style}
onClick={this.props.onClick}>
<figure className={css(Styles.icon)}>
{this.props.icon}
</figure>
Expand All @@ -38,6 +41,7 @@ const Styles = StyleSheet.create({
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
cursor: 'pointer',
},
icon: {
flexShrink: 0,
Expand Down

0 comments on commit fc2ab10

Please sign in to comment.