Browse Source

Add semicolon for example code style consistency (#575)

main
Zeb DeOs 7 years ago
committed by Dan Abramov
parent
commit
53a600087b
  1. 2
      content/docs/conditional-rendering.md

2
content/docs/conditional-rendering.md

@ -209,7 +209,7 @@ function WarningBanner(props) {
class Page extends React.Component { class Page extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = {showWarning: true} this.state = {showWarning: true};
this.handleToggleClick = this.handleToggleClick.bind(this); this.handleToggleClick = this.handleToggleClick.bind(this);
} }

Loading…
Cancel
Save