Clear comment after submitting, for multiple bets
This commit is contained in:
parent
d6a9b89c43
commit
0b5b0bb9d3
|
@ -385,6 +385,7 @@ export function FeedBet(props: {
|
|||
async function submitComment() {
|
||||
if (!user || !comment || !canComment) return
|
||||
await createComment(contract.id, comment, user, id)
|
||||
setComment('')
|
||||
}
|
||||
|
||||
const bought = amount >= 0 ? 'bought' : 'sold'
|
||||
|
|
Loading…
Reference in New Issue
Block a user