TanStackT
TanStack4mo ago
3 replies
faint-white

Issue with notFound() not rendering with CSS

I have a server action using createServerFn() that checks if an object exists, if it does not i throw a «throw notFound()» and on my page loader: I do a const item = await queryClient.ensureQueryData(query)

Etc.., and when it throws notFound i do not get any CSS

How can I fix this?
Was this page helpful?