Bug: Setting up cookies not woring when using .input in nextjs
Hey guys I am trying to set up a cookie with nextjs 14 and trpc. However my cookie is only being set when I am not using the
.input
method. I have attached a video showing this.
reproduction steps:
* pnpm create t3-app
* added cookies().set("hello", "world");
in the postRouter
* the cookie is not being set.
Here is the code if you prefer:
1 Reply
Did you ever solve this? I have the same issue