mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 05:37:55 +01:00
add super()
This commit is contained in:
parent
e33c967934
commit
5bc7d09e8d
@ -27,6 +27,7 @@ class Settings extends React.Component {
|
||||
initialSettings: PropTypes.object.isRequired
|
||||
};
|
||||
constructor(props) {
|
||||
super();
|
||||
this.state = {
|
||||
settings: props.initialSettings,
|
||||
printers: props.defaultPrinter,
|
||||
|
Loading…
Reference in New Issue
Block a user