Cannot update a component (Router) while rendering a different component
Hello, it's me again. is there anyway I can avoid using
So I created a server action that will get id from URL and then pass it as a
Upon searching and reading some stackoverflow, I came across using useEffect, but i want to use
this is my server action
and then I tried to fetch it
useEffect for fetching data and use useQuery instead?So I created a server action that will get id from URL and then pass it as a
queryFn, but then, I get this error Upon searching and reading some stackoverflow, I came across using useEffect, but i want to use
useQuery instead.this is my server action
and then I tried to fetch it