next 13 cookies
Im trying to set cookies in next 13 using this server action function, but im getting this error. I'm already using a server action, why cant i set and delete?
1 Reply
I think that in order to make it a server action you should mark it with “use server” inside the function