Web:Login: change 'pagelayout' component to 'section' component

This commit is contained in:
Timofey Boyko 2022-03-17 16:21:59 +03:00
parent e49ca2fac0
commit 5e4798285a

View File

@ -14,7 +14,7 @@ import PasswordInput from "@appserver/components/password-input";
import FieldContainer from "@appserver/components/field-container";
import SocialButton from "@appserver/components/social-button";
import FacebookButton from "@appserver/components/facebook-button";
import PageLayout from "@appserver/common/components/PageLayout";
import Section from "@appserver/common/components/Section";
import ForgotPasswordModalDialog from "./sub-components/forgot-password-modal-dialog";
import Register from "./sub-components/register-container";
import { getAuthProviders } from "@appserver/common/api/settings";
@ -602,11 +602,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>
);