mirror of
https://github.com/zulip/zulip.git
synced 2025-11-22 15:31:20 +00:00
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 <dc.dhruvchouhan@gmail.com>.