Skip to content

Commit

Permalink
Remove quotes from messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sashachabin committed Aug 23, 2022
1 parent 97dc7ae commit 9d09b9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/view/Form/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ async function updateStatsView(query, region) {
let { lint, browsers, coverage, versions } = data

if (lint.length > 0) {
let linterWarning = lint.map(({ message }) => message).join('.<br />')
let linterWarning = lint
.map(({ message }) => message.replace(/`/g, ''))
.join('.<br />')
renderWarning(linterWarning)
}

Expand Down

0 comments on commit 9d09b9f

Please sign in to comment.