React Hook useEffect has missing dependencies: 'currService' and 'filterByCurrService'. Either include them or remove the dependency array. If 'setItems' needs the current value of 'currService', you can also switch to useReducer instead of useState and read 'currService' in the reducer