This commit is contained in:
casperlamboo 2017-11-13 10:43:42 +01:00
parent cd737da6d9
commit 45e0f02936
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -194,7 +194,7 @@ class Interface extends React.Component {
defaultQuality={defaultQuality}
material={materialSettings}
defaultMaterial={defaultMaterial}
initalSettings={settings}
initialSettings={settings}
onChange={this.onChangeSettings}
/>
<RaisedButton className={classes.button} fullWidth disabled={isSlicing} onTouchTap={this.slice} primary label="slice" />