Closed ssaintx closed 1 week ago
i fixed this error.
Error: Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.
at Home (page.tsx:11:97)
just at the top instead of "use client" -> "use server"
When i am fetching threads. I am not getting fetches. instead i am getting these errors. And localhost:3000 is not showing. It is just white display
POST / 200 in 1447ms DB OK ⨯ RangeError: Maximum call stack size exceeded at String.replace ()
digest: "1737046534"
POST / 200 in 1244ms.