plebbit / plebbit-react

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

PublishCommentEdit is not passing edit props #268

Closed estebanabaroa closed 1 year ago

estebanabaroa commented 1 year ago

I had the "removed" option selected and when I checked the logs, "removed" wasn't there:

plebbit-react-hooks:accounts:stores accountsActions.publishCommentEdit +0ms 
Object { createCommentEditOptions: {…} }
​
createCommentEditOptions: Object { timestamp: 1682732077, commentCid: "QmeCm4gCghcKpALTkvUB49Hs4NNF3yj1uuRA9Guh5ELV6M", subplebbitAddress: "12D3KooWG3XbzoVyAE6Y9vHZKF64Yuuu4TjdgQKedk14iYmTEPWu", … }
​​
author: Object { address: "estebanabaroa.eth", shortAddress: "estebanabaroa.eth", displayName: "Esteban Abaroa" }
​​
commentCid: "QmeCm4gCghcKpALTkvUB49Hs4NNF3yj1uuRA9Guh5ELV6M"
​​
subplebbitAddress: "12D3KooWG3XbzoVyAE6Y9vHZKF64Yuuu4TjdgQKedk14iYmTEPWu"
​​
timestamp: 1682732077
estebanabaroa commented 1 year ago

I just tested, removed = true is getting passed, but reason is not getting passed even if I typed something in the reason box. It's not showing in the plebbit-react-hooks logs.