fix(SW-438): fix refs

This commit is contained in:
Matilda Landström
2024-10-16 08:31:13 +02:00
parent e5eb6a5331
commit a5a3bfa857
5 changed files with 54 additions and 26 deletions

View File

@@ -30,15 +30,12 @@ export default function Sidebar({ blocks }: SidebarProps) {
</section>
)
case SidebarEnums.blocks.ContentCard:
console.log("EEE", block.content_card)
return (
<TeaserCard
{...block.content_card}
title={block.content_card.heading}
description={block.content_card.body_text}
style={
block.content_card.theme === "gray" ? "default" : "featured"
}
style={block.content_card.theme}
/>
)