);
}
/**
* A horizontal strip of crews that share the active Lab scene's focus.
* Shown beneath the Lab results so crews and individual service providers
* cross-reference each other. Renders nothing when there are no matching crews.
*/
export function LabCrewsStrip({ serviceType }: { serviceType: ServiceType }) {
const focus = crewFocusForServiceType(serviceType);
const { data: crews, isLoading } = useCrewsByFocus(focus, 20);
// Only render the section when there's something to show (or while loading).
if (!isLoading && (!crews || crews.length === 0)) return null;
return (