Skip to content

Commit

Permalink
Fixing lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jdslaugh committed Feb 13, 2024
1 parent d54dbe4 commit fc13bc5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const aggregateNotices = (notices) =>
if (notice) {
const { messageHtml, severity, payload } = notice;

/* eslint-disable no-param-reassign */
if (payload) {
accum[messageHtml] ??= {
severity,
Expand All @@ -30,6 +31,7 @@ const aggregateNotices = (notices) =>
} else {
accum[messageHtml] = { ...notice };
}
/* eslint-enable no-param-reassign */
}

return accum;
Expand Down

0 comments on commit fc13bc5

Please sign in to comment.