Skip to content

Commit

Permalink
const for .state props
Browse files Browse the repository at this point in the history
  • Loading branch information
knod committed Nov 28, 2018
1 parent 0919f6b commit a04ca4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CustomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class CustomClient extends React.Component {
};

submit = (event) => {
let { toLoad } = this.state;
const { toLoad } = this.state;
event.preventDefault();
this.load(toLoad);
};
Expand All @@ -73,7 +73,7 @@ class CustomClient extends React.Component {
};

render() {
let { toLoad, error, json } = this.state;
const { toLoad, error, json } = this.state;

return (
<Form
Expand Down

0 comments on commit a04ca4c

Please sign in to comment.