function OnchainAddressDisplay({ address }: { address: string }) { return ( <> {address.match(/.{1,4}/g)?.map((word, index) => { if (index % 2 === 0) { return ( {word} ); } else { return ( {word} ); } })} > ); } export default OnchainAddressDisplay;