Hello @quentinserda,
Welcome to Prismic community, and thanks for reaching out to us!
With the code you shared, the type in the routes is page
, but in your component where you're fetching data custom type is blog
. You need to update the routes to match the custom types in your repository. So in your case, the route would look like this:
routes: [
{
type: 'blog',
path: '/:uid',
},
],
Try it out and let me know
Thanks,
Racheal.