src/applications/check-in/containers/withError.jsx
Function withError
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const withError = Component => {
const WrappedComponent = props => {
const selectError = useMemo(makeSelectError, []);
const { error } = useSelector(selectError);