diff --git a/content/docs/conditional-rendering.md b/content/docs/conditional-rendering.md index 9b2deb38..5680ee21 100644 --- a/content/docs/conditional-rendering.md +++ b/content/docs/conditional-rendering.md @@ -209,7 +209,7 @@ function WarningBanner(props) { class Page extends React.Component { constructor(props) { super(props); - this.state = {showWarning: true} + this.state = {showWarning: true}; this.handleToggleClick = this.handleToggleClick.bind(this); }