From b2bda416b64b476667ba3b3dec0e2c4841baef2b Mon Sep 17 00:00:00 2001 From: Henrik Date: Fri, 23 Jun 2017 15:51:25 +0200 Subject: [PATCH] Fix material-ui-next example (#2348) --- examples/with-material-ui-next/pages/index.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/examples/with-material-ui-next/pages/index.js b/examples/with-material-ui-next/pages/index.js index 80c0095a02f57..0c5ed17290e26 100644 --- a/examples/with-material-ui-next/pages/index.js +++ b/examples/with-material-ui-next/pages/index.js @@ -17,13 +17,9 @@ const styles = { } class Index extends Component { - constructor (props) { - super(props) - - this.state = { - open: false - } - } + state = { + open: false + }; handleRequestClose = () => { this.setState({ @@ -47,12 +43,12 @@ class Index extends Component { 1-2-3-4-5 - + Material-UI example project -