소스 검색

BugFix for NoLoginLayout

Yuki Takei 3 년 전
부모
커밋
743564df25
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      packages/app/src/components/Layout/NoLoginLayout.tsx

+ 4 - 1
packages/app/src/components/Layout/NoLoginLayout.tsx

@@ -18,11 +18,14 @@ export const NoLoginLayout = ({
 }: Props): JSX.Element => {
 
   const { data: appTitle } = useAppTitle();
+
+  const classNames: string[] = [''];
   if (className != null) {
     classNames.push(className);
   }
+
   return (
-    <RawLayout className={`nologin ${commonStyles.nologin}`}>
+    <RawLayout className={`nologin ${commonStyles.nologin} ${classNames}`}>
       <div className="page-wrapper">
         <div className="main container-fluid">