Yuki Takei 7 ماه پیش
والد
کامیت
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) => {
 export const getServerSideProps: GetServerSideProps<Props> = async(context: GetServerSidePropsContext) => {
   const baseResult = await getServerSideAdminCommonProps(context);
   const baseResult = await getServerSideAdminCommonProps(context);
-  if ('redirect' in baseResult || 'notFound' in baseResult) return baseResult;
 
 
   const req: CrowiRequest = context.req as CrowiRequest;
   const req: CrowiRequest = context.req as CrowiRequest;
   const { crowi } = req;
   const { crowi } = req;