Hi All
I created a CPT on my wordpress (https://wp.dossis.ch/wp-json/wp/v2/portfolio/) to be a able to generate a portfolio page dynamically based on all the portfolio-posts.
It is working great, but the featured_media is not being loaded into state at the moment, or only if I click Refresh/F5 on the actual CPT for example /portfolio/dossis/
Any idea how I could solve that? How are featured_media, being fetched and added to state.source.attachment (which is only loaded with blog posts stuff)?
Here is a URL from the Site https://dossis-portfolio-frontity-bsqpscq12.vercel.app and here should be a sandbox of it: https://codesandbox.io/s/t8hym