Add an extra new line when you add to a market description

This commit is contained in:
jahooma 2022-01-08 23:09:19 -06:00
parent 1013192281
commit e4206d6277

View File

@ -137,7 +137,7 @@ export function ContractDescription(props: {
e.preventDefault() e.preventDefault()
setEditing(false) setEditing(false)
const newDescription = `${contract.description}\n${description}`.trim() const newDescription = `${contract.description}\n\n${description}`.trim()
await updateContract(contract.id, { description: newDescription }) await updateContract(contract.id, { description: newDescription })
setDescription(editStatement()) setDescription(editStatement())