add super()

This commit is contained in:
casperlamboo 2017-11-16 15:06:19 +01:00
parent e33c967934
commit 5bc7d09e8d

View File

@ -27,6 +27,7 @@ class Settings extends React.Component {
initialSettings: PropTypes.object.isRequired
};
constructor(props) {
super();
this.state = {
settings: props.initialSettings,
printers: props.defaultPrinter,