mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-22 21:55:53 +00:00
Codemod vars to const/let
This commit is contained in:
@@ -51,7 +51,7 @@ export default class InviteForm extends React.Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
var formClasses = classSet({
|
||||
const formClasses = classSet({
|
||||
form: true,
|
||||
"invite-form": true,
|
||||
"has-success": this.state.submitted,
|
||||
@@ -59,13 +59,13 @@ export default class InviteForm extends React.Component {
|
||||
sending: this.state.sending,
|
||||
});
|
||||
|
||||
var inputClasses = classSet({
|
||||
const inputClasses = classSet({
|
||||
input: true,
|
||||
"has-success": this.state.submitted,
|
||||
"has-error": this.state.error,
|
||||
});
|
||||
|
||||
var feedbackMessage;
|
||||
let feedbackMessage;
|
||||
|
||||
if (this.state.error || this.state.submitted) {
|
||||
let messageText;
|
||||
|
||||
Reference in New Issue
Block a user