X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fcomponents%2Fperson%2Fpassword-change.tsx;h=16f23d4b85c9dc2d25d3de79437ff4fc0ddc5415;hb=61e0241d8930badc4a77cd973c3cbb64bd13c49e;hp=0403c553616d8dc91a6b78263720e85d7d3f13c8;hpb=0fee7cba3b63bcd9854215e5b545e657b1a82efa;p=lemmy-ui.git diff --git a/src/shared/components/person/password-change.tsx b/src/shared/components/person/password-change.tsx index 0403c55..16f23d4 100644 --- a/src/shared/components/person/password-change.tsx +++ b/src/shared/components/person/password-change.tsx @@ -2,15 +2,11 @@ import { myAuth, setIsoData } from "@utils/app"; import { capitalizeFirstLetter } from "@utils/helpers"; import { Component, linkEvent } from "inferno"; import { GetSiteResponse, LoginResponse } from "lemmy-js-client"; -import { - FirstLoadService, - HttpService, - I18NextService, - UserService, -} from "../../services"; +import { HttpService, I18NextService, UserService } from "../../services"; import { RequestState } from "../../services/HttpService"; import { HtmlTags } from "../common/html-tags"; import { Spinner } from "../common/icon"; +import PasswordInput from "../common/password-input"; interface State { passwordChangeRes: RequestState; @@ -35,8 +31,6 @@ export class PasswordChange extends Component { constructor(props: any, context: any) { super(props, context); - - FirstLoadService.isFirstLoad; } get documentTitle(): string { @@ -54,7 +48,9 @@ export class PasswordChange extends Component { />
-
{I18NextService.i18n.t("password_change")}
+

+ {I18NextService.i18n.t("password_change")} +

{this.passwordChangeForm()}
@@ -65,42 +61,28 @@ export class PasswordChange extends Component { passwordChangeForm() { return (
-
- -
- -
+
+
-
- -
- -
+
+