Web:Login: change 'pagelayout' component to 'section' component
This commit is contained in:
parent
e49ca2fac0
commit
5e4798285a
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user