import { Fragment } from "react"; /** A practice's permanent web address once held: the read-only field, which breaks only between labels. */ export const PracticeAddressHeld = ({ hostname }: { hostname: string }) => { const labels = hostname.split("."); return (
Permanent practice web address
{labels.map((label, i) => ( {i < labels.length - 1 ? `${label}.` : label} {i < labels.length - 1 && } ))}
Saved ยท cannot be changed
); };