What is Nostr?
frederik_diamond / FREDERIK DIAMOND
npub1nj0…2gqz
2025-03-03 16:21:44

frederik_diamond on Nostr: So, the problem was pretty obvious, though I am not sure if it's the only problem. ...

So, the problem was pretty obvious, though I am not sure if it's the only problem. The parentId of the replies is always set to the first comment, not the actual parent comment. Unless you’re replying to the first comment, then it’ll be correct.

But here’s the catch: if you’re replying to the last reply in a nested reply chain, it’ll set the parentId to the first reply in the first level. #dev

Having a problem with nested replies on my social media portfolio project.

The reply "Testing 3" should actually be a child of the "Testing 2" reply, but they appear on the same level. #dev #NextJS

Author Public Key
npub1nj0crmtetu84a7j43yegy358mp8u0e4ye7ndkhtd8dg0edll4mpqn52gqz