Change the GET deck endpoint to include a filter query parameter so that filtered results can be paginated.
Lifted the filterText state from SearchBar to DeckView. Created a helper function for updating the cards based on filterText and added hooks to debounce.
Change the GET deck endpoint to include a
filter
query parameter so that filtered results can be paginated.Lifted the
filterText
state from SearchBar to DeckView. Created a helper function for updating the cards based onfilterText
and added hooks to debounce.