Commit 308f7d59 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

fix: avoid replaceAll (#2361)

parent c68d08ac
...@@ -135,7 +135,7 @@ function useFormattedProposalCreatedLogs( ...@@ -135,7 +135,7 @@ function useFormattedProposalCreatedLogs(
// Bravo proposal omits newlines // Bravo proposal omits newlines
if (startBlock === BRAVO_START_BLOCK) { if (startBlock === BRAVO_START_BLOCK) {
description = description.replaceAll(/ /g, '\n').replaceAll(/\d\. /g, '\n$&') description = description.replace(/ /g, '\n').replace(/\d\. /g, '\n$&')
} }
} }
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment