Add an extra new line when you add to a market description
This commit is contained in:
parent
1013192281
commit
e4206d6277
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user