fix(SW-856): fixed issues where blocks do not have titles/preambles
This commit is contained in:
@@ -14,6 +14,10 @@ export default function SectionHeader({
|
||||
topTitle = false,
|
||||
textTransform,
|
||||
}: HeaderProps) {
|
||||
if (!title || !preamble || !link) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<header className={styles.header}>
|
||||
<Title
|
||||
|
||||
Reference in New Issue
Block a user