Yuki Takei 7 месяцев назад
Родитель
Сommit
25d43f89bc
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      apps/app/src/pages/admin/index.page.tsx

+ 0 - 1
apps/app/src/pages/admin/index.page.tsx

@@ -45,7 +45,6 @@ AdminHomepage.getLayout = createAdminPageLayout<Props>({
 
 export const getServerSideProps: GetServerSideProps<Props> = async(context: GetServerSidePropsContext) => {
   const baseResult = await getServerSideAdminCommonProps(context);
-  if ('redirect' in baseResult || 'notFound' in baseResult) return baseResult;
 
   const req: CrowiRequest = context.req as CrowiRequest;
   const { crowi } = req;