semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

fix: unnecessary use of `map()` for side effects

Open famouswizard opened this issue 7 months ago • 0 comments

Description

replaced the map(...).map(...) chain with forEach(...).forEach(...) as the result of map wasn't being used

Checklist

  • [x] I have performed a self-review of my code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] My changes generate no new warnings
  • [x] I have run yarn format and yarn lint without getting any errors
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes

famouswizard avatar Apr 23 '25 18:04 famouswizard