X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fcomponents%2Fhome%2Fsignup.tsx;h=bb1e1f1142be867fd69c742914f90aa2b70d5ab6;hb=c3ab9e74f8775f4b811866d2675b00f9702bde3d;hp=516cd43fb2282d09f31264b8b74ab3e38674efd4;hpb=93e015393cfb1371559c045cbaf67af53390c3dc;p=lemmy-ui.git diff --git a/src/shared/components/home/signup.tsx b/src/shared/components/home/signup.tsx index 516cd43..bb1e1f1 100644 --- a/src/shared/components/home/signup.tsx +++ b/src/shared/components/home/signup.tsx @@ -144,7 +144,7 @@ export class Signup extends Component { className="was-validated" onSubmit={linkEvent(this, this.handleRegisterSubmit)} > -
{this.titleName(siteView)}
+

{this.titleName(siteView)}

{this.isLemmyMl && (
@@ -469,7 +469,9 @@ export class Signup extends Component { // Only log them in if a jwt was set if (data.jwt) { - UserService.Instance.login(data); + UserService.Instance.login({ + res: data, + }); const site = await HttpService.client.getSite({ auth: myAuth() });