fix: add optional chaining to bg show

This commit is contained in:
Rotimi Best
2024-10-06 23:51:14 +01:00
committed by GitHub
parent 985a2cd950
commit 4dca6d7d47
@@ -183,7 +183,7 @@
<header
id="header"
class={`w-full h-[100vh] md:h-[90vh] mb-10 relative ${
$landingPageSettings.header.background.show
$landingPageSettings.header.background?.show
? 'bg-cover bg-center'
: 'border-b border-gray-300'
}`}