mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +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
|
initialSettings: PropTypes.object.isRequired
|
||||||
};
|
};
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
super();
|
||||||
this.state = {
|
this.state = {
|
||||||
settings: props.initialSettings,
|
settings: props.initialSettings,
|
||||||
printers: props.defaultPrinter,
|
printers: props.defaultPrinter,
|
||||||
|
Loading…
Reference in New Issue
Block a user