diff --git a/app/routes/threads/$threadId.jsx b/app/routes/threads/$threadId.jsx index 54ab30a..d4744fc 100644 --- a/app/routes/threads/$threadId.jsx +++ b/app/routes/threads/$threadId.jsx @@ -56,7 +56,11 @@ export async function loader({ params }) { id: parseInt(threadId), }, include: { - posts: true, + posts: { + include: { + replies: true, + }, + }, }, }); @@ -80,15 +84,26 @@ export default function Thread() {