Fixed i18n

This commit is contained in:
Philipp Czora
2018-11-09 15:43:36 +01:00
parent 4702666628
commit 2e8de0ed23
3 changed files with 16 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
// @flow
import React from "react";
import { translate } from "react-i18next";
import {translate} from "react-i18next";
import InputField from "./InputField";
type State = {
@@ -42,7 +42,7 @@ class PasswordConfirmation extends React.Component<Props, State> {
return (
<>
<InputField
label={t("password.label")}
label={t("password.newPassword")}
type="password"
onChange={this.handlePasswordChange}
value={this.state.password ? this.state.password : ""}