Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pills: Optimize removePill function.
The removePill function of input_pill module uses a for loop for iterating and finding the required pill. Replace the for loop with inbuilt findIndex function for efficiency. Authored-by: Dhruv Chouhan <[email protected]>.
- Loading branch information