# Remove unused imports for the frontend. #1554

**URL:** <https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667>\
**Category:** Uncategorized\
**Created:** [October 22, 2025, 5:33pm UTC](https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667 "2025-10-22T17:33:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leone\_Chirodza](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/leone_chirodza/32/994_2.png) [@Leone\_Chirodza](https://talk.openelis-global.org/u/Leone_Chirodza)\
**Post date:** [October 22, 2025, 5:33pm UTC](https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667/1 "2025-10-22T17:33:47Z")

</div>

Good day I ran ESLint and found 100+ unused imports across many files. Should I:

1. Remove all of them in one PR?

2. Start with a specific directory/subset?

3. Focus on specific files you’ve identified?

Kindly Guide @tasksolver @Agaba_Derrick_Junior @Ariho-Seth @Moses_Mutesasira @reagan

---

<div class="post-metadata">

**Author:** ![tasksolver](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/tasksolver/32/1067_2.png) [@tasksolver](https://talk.openelis-global.org/u/tasksolver)\
**Post date:** [October 22, 2025, 5:52pm UTC](https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667/2 "2025-10-22T17:52:03Z")

</div>

Hello @Leone_Chirodza , what issue are you working on?

---

<div class="post-metadata">

**Author:** ![Leone\_Chirodza](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/leone_chirodza/32/994_2.png) [@Leone\_Chirodza](https://talk.openelis-global.org/u/Leone_Chirodza)\
**Post date:** [October 22, 2025, 5:59pm UTC](https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667/3 "2025-10-22T17:59:13Z")

</div>

Remove unused imports for the frontend. #1554

---

<div class="post-metadata">

**Author:** ![tasksolver](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/tasksolver/32/1067_2.png) [@tasksolver](https://talk.openelis-global.org/u/tasksolver)\
**Post date:** [October 22, 2025, 6:45pm UTC](https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667/4 "2025-10-22T18:45:28Z")

</div>

Wow, great @Leone_Chirodza . Start small, and scale up. I mean, start with a few files(like 5 depending on the number of files). This would ensure that you easily manage and track changes and also would ensure seamless troubleshooting.

---

<div class="post-metadata">

**Author:** ![Leone\_Chirodza](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/leone_chirodza/32/994_2.png) [@Leone\_Chirodza](https://talk.openelis-global.org/u/Leone_Chirodza)\
**Post date:** [October 24, 2025, 7:41am UTC](https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667/5 "2025-10-24T07:41:16Z")

</div>

Removed unused React imports from multiple components (ConfirmPopup, CustomCheckBox, CustomSelect, GlobalSideBar, PageBreadCrumb, Utils). Code builds successfully; no functional impact. Waiting for the maintainers to review the pull request

---

<div class="post-metadata">

**Author:** ![Agaba\_Derrick\_Junior](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/agaba_derrick_junior/32/503_2.png) [@Agaba\_Derrick\_Junior](https://talk.openelis-global.org/u/Agaba_Derrick_Junior)\
**Post date:** [October 24, 2025, 8:08am UTC](https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667/6 "2025-10-24T08:08:52Z")

</div>

@Leone_Chirodza thanks for the PR I have been able to add some comments, you can as well address them

---

<div class="post-metadata">

**Author:** ![mherman22](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/mherman22/32/92_2.png) [@mherman22](https://talk.openelis-global.org/u/mherman22)\
**Post date:** [October 24, 2025, 2:40pm UTC](https://talk.openelis-global.org/t/remove-unused-imports-for-the-frontend-1554/1667/7 "2025-10-24T14:40:35Z")

</div>

can we also fix the excessive eslint warnings in the frontend container logs which make debugging difficult.
