Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuRA committed Dec 4, 2024
1 parent 050ae0c commit 9722012
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/xo-web/src/xo-app/vm/xenstore-create-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class XenstoreCreateModal extends Component {
this.setState({ key: str })
}

onchangeValue = ({ target: { value } }) => {
onValueChange = ({ target: { value } }) => {
this.setState({ value })
}

Expand All @@ -38,13 +38,13 @@ export default class XenstoreCreateModal extends Component {
<SingleLineRow>
<Col size={6}>{_('key')}</Col>
<Col size={6}>
<input className='form-control' type='text' value={this.state.key} onChange={this.onKeyChange} />
<input className='form-control' onChange={this.onKeyChange} type='text' value={this.state.key} />
</Col>
</SingleLineRow>
<SingleLineRow>
<Col size={6}>{_('value')}</Col>
<Col size={6}>
<input className='form-control' type='text' value={this.state.value} onChange={this.onchangeValue} />
<input className='form-control' type='text' onChange={this.onValueChange} value={this.state.value} />
</Col>
</SingleLineRow>
</Container>
Expand Down

0 comments on commit 9722012

Please sign in to comment.