Web:Login: fix errors after merge
This commit is contained in:
parent
27fab6de23
commit
052a76aa36
@ -1,5 +1,5 @@
|
||||
import React, { useState } from "react";
|
||||
import PageLayout from "@appserver/common/components/PageLayout";
|
||||
import Section from "@appserver/common/components/Section";
|
||||
import { withRouter } from "react-router";
|
||||
import {
|
||||
I18nextProvider,
|
||||
@ -105,11 +105,11 @@ const Form = () => {
|
||||
const CodeLoginForm = (props) => {
|
||||
return (
|
||||
<LoginFormWrapper>
|
||||
<PageLayout>
|
||||
<PageLayout.SectionBody>
|
||||
<Section>
|
||||
<Section.SectionBody>
|
||||
<Form {...props} />
|
||||
</PageLayout.SectionBody>
|
||||
</PageLayout>
|
||||
</Section.SectionBody>
|
||||
</Section>
|
||||
</LoginFormWrapper>
|
||||
);
|
||||
};
|
||||
|
@ -8,7 +8,7 @@ import Link from "@appserver/components/link";
|
||||
import Toast from "@appserver/components/toast";
|
||||
import FieldContainer from "@appserver/components/field-container";
|
||||
import SocialButton from "@appserver/components/social-button";
|
||||
import PageLayout from "@appserver/common/components/PageLayout";
|
||||
import Section from "@appserver/common/components/Section";
|
||||
import Register from "./sub-components/register-container";
|
||||
import {
|
||||
getAuthProviders,
|
||||
@ -450,11 +450,11 @@ const LoginForm = (props) => {
|
||||
|
||||
return (
|
||||
<LoginFormWrapper enabledJoin={enabledJoin} isDesktop={isDesktop}>
|
||||
<PageLayout>
|
||||
<PageLayout.SectionBody>
|
||||
<Section>
|
||||
<Section.SectionBody>
|
||||
<Form {...props} />
|
||||
</PageLayout.SectionBody>
|
||||
</PageLayout>
|
||||
</Section.SectionBody>
|
||||
</Section>
|
||||
<Register />
|
||||
</LoginFormWrapper>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user