소스 검색

fix lint error

Shun Miyazawa 6 달 전
부모
커밋
0075928c2c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      apps/app/src/pages/admin/customize.page.tsx

+ 3 - 2
apps/app/src/pages/admin/customize.page.tsx

@@ -22,7 +22,7 @@ const CustomizeSettingContents = dynamic(
 
 type PageProps = {
   isCustomizedLogoUploaded: boolean;
-  customTitleTemplate: string;
+  customTitleTemplate?: string;
 };
 
 type Props = AdminCommonProps & PageProps;
@@ -66,7 +66,8 @@ export const getServerSideProps: GetServerSideProps<Props> = async (
     props: {
       isCustomizedLogoUploaded:
         await crowi.attachmentService.isBrandLogoExist(),
-      customTitleTemplate: crowi.configManager.getConfig('customize:title') ?? '',
+      customTitleTemplate:
+        crowi.configManager.getConfig('customize:title') ?? '',
     },
   } satisfies { props: PageProps };