src/applications/vaos/referral-appointments/hooks/useGetReferralById.jsx
Function useGetReferralById
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const useGetReferralById = id => {
const [referralNotFound, setReferralNotFound] = useState(false);
const [currentReferral, setCurrentReferral] = useState(null);
const dispatch = useDispatch();
const featureCCDirectScheduling = useSelector(