Update nextjs and use infered props
Update nextjs to 9.4.3 and use their included utility types to infer props from the type of getStaticProps
Update nextjs to 9.4.3 and use their included utility types to infer props from the type of getStaticProps