What is the easiest way to get your content from the trpcState
Is there an easier way to get these values?
const post = await helpers.post.getPost.prefetch({ slug });
console.warn(post);
return {
props: {
trpcState: helpers.dehydrate(),
slug,
},
revalidate: 1,
};
}

0 Replies