From 45e0f02936361529f70bcdeae6b812a0598d6776 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Mon, 13 Nov 2017 10:43:42 +0100 Subject: [PATCH] typo --- src/interface/Settings.js | 4 ++-- src/interface/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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} />