Skip to content

Commit

Permalink
chore: Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anth-volk committed Oct 25, 2024
1 parent 531b395 commit 9303a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/policy/output/decile/AverageImpactByDecile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function averageImpactByDecile(props) {
const decileAverage = impact.decile.average;

// Hot fix to be removed to avoid deciles outside of 1-10
Object.keys(decileAverage).map((key) => {
Object.keys(decileAverage).forEach((key) => {
if (key > 10 || key < 1) {
delete decileAverage[key];
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/policy/output/decile/RelativeImpactByDecile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default function relativeImpactByDecile(props) {
const decileRelative = impact.decile.relative;

// Hot fix to be removed to avoid deciles outside of 1-10
Object.keys(decileRelative).map((key) => {
Object.keys(decileRelative).forEach((key) => {
if (key > 10 || key < 1) {
delete decileRelative[key];
}
Expand Down

0 comments on commit 9303a1d

Please sign in to comment.