Open rahulsingh-99 opened 9 months ago
<ThreadCard id={thread._id} currentUserId={user.id} parentId={thread.parentId} content={thread.text} author={thread.author} community={thread.community} createdAt={thread.createdAt} comments={thread.children} />
Would anyone be able to help me with this error? It's very irritating it keeps showing me even though I check all the code thrice.
The ID you need to past is the ID of the Thread
Error: Cannot read properties of undefined (reading '_id')