integration/tagline: do not output a <br> at the end

This commit is contained in:
Emmanuel Pelletier
2024-05-07 18:30:30 +02:00
parent 6f6d4ebf65
commit 76a5bf289a

View File

@@ -53,10 +53,10 @@ export const HomepageContent = ({ tagline, lasuiteApiUrl, serviceId, children }:
}
})
})
.map((part, index) => (
.map((part, index, arr) => (
<Fragment key={index}>
{part}
<br />
{index !== arr.length - 1 ? <br /> : null}
</Fragment>
))}
</>