feat(SW-889): design changes

This commit is contained in:
Fredrik Thorsson
2024-12-04 13:35:57 +01:00
parent f40089daea
commit a4db92a093
3 changed files with 8 additions and 22 deletions

View File

@@ -19,10 +19,7 @@ export default function Sidebar({ blocks }: SidebarProps) {
switch (block.typename) {
case SidebarEnums.blocks.Content:
return (
<section
className={styles.content}
key={`${block.typename}-${idx}`}
>
<section key={`${block.typename}-${idx}`}>
<JsonToHtml
embeds={block.content.embedded_itemsConnection.edges}
nodes={block.content.json.children}