diff --git a/src/interface/Settings.js b/src/interface/Settings.js index 5f9d43f..e0fc3c8 100644 --- a/src/interface/Settings.js +++ b/src/interface/Settings.js @@ -21,7 +21,7 @@ class Settings extends React.Component { constructor(props) { super(props); this.state = { - settings: props.initalSettings, + settings: props.initialSettings, printers: props.defaultPrinter, quality: props.defaultQuality, material: props.defaultMaterial @@ -157,7 +157,7 @@ Settings.propTypes = { defaultQuality: PropTypes.string.isRequired, material: PropTypes.object.isRequired, defaultMaterial: PropTypes.string.isRequired, - initalSettings: PropTypes.object.isRequired + initialSettings: PropTypes.object.isRequired }; export default injectSheet(styles)(Settings); diff --git a/src/interface/index.js b/src/interface/index.js index 3d4c9fe..42610a3 100644 --- a/src/interface/index.js +++ b/src/interface/index.js @@ -194,7 +194,7 @@ class Interface extends React.Component { defaultQuality={defaultQuality} material={materialSettings} defaultMaterial={defaultMaterial} - initalSettings={settings} + initialSettings={settings} onChange={this.onChangeSettings} />