fix: some serialize in [group].tsx
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user