Useful or not, from you.
next.js getStaticProps and getServerSideProps not working with custom app

When having a custom app having something like this in the render method:

<Component {...pageProps} />

getStaticProps or getServerSideProps do not get called.

That's a useful answer
Without any help

Maybe related with my issue? https://github.com/zeit/next.js/discussions/11334