plebbit / plebbit-react

A GUI for plebbit
https://plebbitapp.eth.limo
GNU General Public License v2.0
35 stars 6 forks source link

Clicking delete button on a reply calls publishCommentEdit without deleted: true property #231

Closed estebanabaroa closed 1 year ago

estebanabaroa commented 1 year ago

If I click this button

Screenshot 2023-04-07 at 00-05-43 plebbit

The logs show that publishCommentEdit was called but the deleted: true property is not included.

s1

The property deleted: true must be included for the comment to be deleted.

I haven't tested if the delete button has the same bug in other places so you should double check as well.