I am converting a code from functional component to class. I am unsure as to how I would convert the code below into a hooks function.
applyFilter = () =>