Showing 4,177 of 14,709 total issues
Avoid too many return
statements within this function. Open
Open
return newState;
Avoid too many return
statements within this function. Open
Open
return {
...state,
newBooking: {
...state.newBooking,
appointmentSlotsStatus: FETCH_STATUS.succeeded,
Avoid too many return
statements within this function. Open
Open
return (
<FullWidthLayout>
<va-loading-indicator
set-focus
message="Canceling your appointment..."
Avoid too many return
statements within this function. Open
Open
return (
<div>
{title}
<SingleFacilityEligibilityCheckMessage
clinicsStatus={clinicsStatus}
Avoid too many return
statements within this function. Open
Open
return `${isCommunityCare ? 'Community care' : 'VA appointment'}`;
Avoid too many return
statements within this function. Open
Open
return {
...state,
newBooking: {
...state.newBooking,
clinicsStatus: FETCH_STATUS.failed,
Avoid too many return
statements within this function. Open
Open
return (
<PageLayout showNeedHelp isDetailPage>
<CancelConfirmationPage {...{ appointment, cancelInfo }} />
</PageLayout>
);
Avoid too many return
statements within this function. Open
Open
return {
...state,
newBooking: {
...state.newBooking,
requestLocationStatus: FETCH_STATUS.failed,
Avoid too many return
statements within this function. Open
Open
return {
...state,
newBooking: {
...state.newBooking,
data: {
Avoid too many return
statements within this function. Open
Open
if (isCommunityCare) return 'Community care';
Avoid too many return
statements within this function. Open
Open
return '';
Avoid too many return
statements within this function. Open
Open
return 'Not defined';
Avoid too many return
statements within this function. Open
Open
return {
...state,
newBooking: {
...state.newBooking,
facilities,
Avoid too many return
statements within this function. Open
Open
if (isPhone) return 'Phone';
Avoid too many return
statements within this function. Open
Open
return {
appointmentDetails: '',
appointmentType: '',
icon: '',
};
Avoid too many return
statements within this function. Open
Open
return {
...state,
pages: {
...state.pages,
vaFacilityV2: schema,
Avoid too many return
statements within this function. Open
Open
return {
...state,
clinics,
eligibility: {
...state.eligibility,
Avoid too many return
statements within this function. Open
Open
return {
...state,
eligibilityStatus: FETCH_STATUS.failed,
};
Avoid too many return
statements within this function. Open
Open
return 'typeOfFacility';
Avoid too many return
statements within this function. Open
Open
return {
...state,
appointmentSlotsStatus: FETCH_STATUS.failed,
};