Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

fix createWithServerProps() #16

fix createWithServerProps()

fix createWithServerProps() #16

Triggered via push August 4, 2023 10:48
Status Failure
Total duration 32s
Artifacts

publish.yml

on: push
build-and-publish
22s
build-and-publish
Fit to window
Zoom out
Zoom in

Annotations

2 errors
build-and-publish: src/middlewares/withServerProps.ts#L142
Argument of type '(context: GetServerSidePropsContext<ParsedUrlQuery, PreviewData>) => Promise<{ [x: string]: any; } | { redirect: Redirect; } | { ...; } | { ...; }>' is not assignable to parameter of type 'GetServerSideProps<{ [key: string]: any; }, ParsedUrlQuery, PreviewData>'.
build-and-publish
Process completed with exit code 2.