I have a class component that fetches data from a single api and stores in different arrays for different categories. I want to implement a search box such that it can updat