fix(SW-285): add sidebar to content page

This commit is contained in:
Chuma McPhoy
2024-09-02 22:48:55 +02:00
parent a444746ccb
commit bc01fe499b
2 changed files with 6 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ export default async function LoyaltyPage() {
return (
<>
<section className={styles.content}>
{loyaltyPage.sidebar.length ? (
{loyaltyPage.sidebar?.length ? (
<Sidebar blocks={loyaltyPage.sidebar} />
) : null}