fix: some serialize in [group].tsx

This commit is contained in:
kilyabin
2025-12-02 01:26:57 +04:00
parent 917a663071
commit 0907581cc0

View File

@@ -187,7 +187,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext<{ gr
message: 'Debug: принудительная ошибка', message: 'Debug: принудительная ошибка',
isTimeout: false isTimeout: false
} }
}) }) as NextSerialized<PageProps>
} }
} }
@@ -210,7 +210,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext<{ gr
message: 'Debug: принудительный таймаут', message: 'Debug: принудительный таймаут',
isTimeout: true isTimeout: true
} }
}) }) as NextSerialized<PageProps>
} }
} }
@@ -292,7 +292,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext<{ gr
message: errorMessage, message: errorMessage,
isTimeout isTimeout
} }
}) }) as NextSerialized<PageProps>
} }
} }
} }
@@ -353,7 +353,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext<{ gr
isFromCache: isFromCache ?? false, isFromCache: isFromCache ?? false,
cacheAge: cacheAge ?? null, cacheAge: cacheAge ?? null,
cacheInfo: cacheInfo ?? null cacheInfo: cacheInfo ?? null
}) }) as NextSerialized<PageProps>
} }
} else { } else {
return { return {