diff --git a/app/static/app/js/components/Standby.jsx b/app/static/app/js/components/Standby.jsx index e58591fc..76833c5c 100644 --- a/app/static/app/js/components/Standby.jsx +++ b/app/static/app/js/components/Standby.jsx @@ -16,7 +16,10 @@ class Standby extends React.Component { constructor(props){ super(props); - this.state = props; + this.state = { + message: props.message, + show: props.show + }; } componentWillReceiveProps(nextProps){ diff --git a/package.json b/package.json index 6b37b041..89637bc6 100644 --- a/package.json +++ b/package.json @@ -51,8 +51,8 @@ "proj4": "^2.4.3", "qrcode.react": "^0.7.2", "raw-loader": "^0.5.1", - "react": "^16.2.0", - "react-dom": "^16.2.0", + "react": "^16.4.0", + "react-dom": "^16.4.0", "react-router": "^4.1.1", "react-router-dom": "^4.1.1", "react-test-renderer": "^15.6.1",