kaori 3 лет назад
Родитель
Сommit
0083e6aea1
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      packages/app/src/pages/login/error/[message].page.tsx

+ 2 - 6
packages/app/src/pages/login/error/[message].page.tsx

@@ -18,6 +18,7 @@ import {
 
 
 
 
 type Props = CommonProps;
 type Props = CommonProps;
+const classNames: string[] = ['login-page'];
 
 
 const LoginPage: NextPage<CommonProps> = (props: CommonProps) => {
 const LoginPage: NextPage<CommonProps> = (props: CommonProps) => {
 
 
@@ -30,8 +31,6 @@ const LoginPage: NextPage<CommonProps> = (props: CommonProps) => {
   // page
   // page
   useCurrentPathname(props.currentPathname);
   useCurrentPathname(props.currentPathname);
 
 
-  const classNames: string[] = ['login-page'];
-
 
 
   let loginErrorElm;
   let loginErrorElm;
 
 
@@ -95,9 +94,8 @@ const LoginPage: NextPage<CommonProps> = (props: CommonProps) => {
 
 
   return (
   return (
     <NoLoginLayout className={classNames.join(' ')}>
     <NoLoginLayout className={classNames.join(' ')}>
-
       <div className="mb-4 login-form-errors text-center">
       <div className="mb-4 login-form-errors text-center">
-        <div className='noLogin-dialog mx-auto'>
+        <div className='noLogin-dialog pb-4 mx-auto'>
           <div className="col-12">
           <div className="col-12">
             {loginErrorElm()}
             {loginErrorElm()}
           </div>
           </div>
@@ -107,8 +105,6 @@ const LoginPage: NextPage<CommonProps> = (props: CommonProps) => {
           </a>
           </a>
         </div>
         </div>
       </div>
       </div>
-
-
     </NoLoginLayout>
     </NoLoginLayout>
   );
   );
 };
 };