diff --git a/src/components/ItemTable/ItemAvailability.tsx b/src/components/ItemTable/ItemAvailability.tsx index 2d653b0b..5368ea25 100644 --- a/src/components/ItemTable/ItemAvailability.tsx +++ b/src/components/ItemTable/ItemAvailability.tsx @@ -59,11 +59,7 @@ const ItemAvailability = ({ item }: ItemAvailabilityProps) => { break case RECAP_AEON: case RECAP_AEON_FINDING_AID: - message = ( - <> - - - ) + message = break case ONSITE_AEON_FINDING_AID: message = ( diff --git a/src/components/ItemTable/ItemAvailability/AvailableByAppointment.tsx b/src/components/ItemTable/ItemAvailability/AvailableByAppointment.tsx index 7e7ce0c2..72f92119 100644 --- a/src/components/ItemTable/ItemAvailability/AvailableByAppointment.tsx +++ b/src/components/ItemTable/ItemAvailability/AvailableByAppointment.tsx @@ -4,11 +4,9 @@ import ExternalLink from "../../Links/ExternalLink/ExternalLink" const AvailableByAppointment = ({ displayPeriod = false }) => { return ( - <> - - {`Available by appointment${displayPeriod ? ". " : ""}`} - - + + {`Available by appointment${displayPeriod ? ". " : ""}`} + ) } @@ -26,7 +24,7 @@ const AvailableAtLink = ({ location }) => { const AvailableAt = ({ location }) => { if (!location?.endpoint) return null - else return <> {` at ${location.prefLabel}. `} + return <> {` at ${location.prefLabel}. `} } export { AvailableByAppointment, AvailableAtLink, AvailableAt }