fix: correct conditional header content styles
This commit is contained in:
@@ -18,9 +18,11 @@ export default async function CurrentBenefitsBlock({
|
||||
return (
|
||||
<section className={styles.container}>
|
||||
<header className={styles.header}>
|
||||
<Title as="h3" level="h2" className={styles.title} uppercase>
|
||||
{title}
|
||||
</Title>
|
||||
{title && (
|
||||
<Title as="h3" level="h2" className={styles.title} uppercase>
|
||||
{title}
|
||||
</Title>
|
||||
)}
|
||||
{link && (
|
||||
<Link className={styles.link} href={link.href}>
|
||||
{link.text}
|
||||
|
||||
Reference in New Issue
Block a user