fix: avoid replaceAll (#2361)
This commit is contained in:
parent
c68d08ac26
commit
308f7d59a0
@ -135,7 +135,7 @@ function useFormattedProposalCreatedLogs(
|
||||
|
||||
// Bravo proposal omits newlines
|
||||
if (startBlock === BRAVO_START_BLOCK) {
|
||||
description = description.replaceAll(/ /g, '\n').replaceAll(/\d\. /g, '\n$&')
|
||||
description = description.replace(/ /g, '\n').replace(/\d\. /g, '\n$&')
|
||||
}
|
||||
}
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user