refactor: zod validation and pr comments
This commit is contained in:
@@ -26,13 +26,8 @@ export default async function LoyaltyPage({
|
||||
|
||||
return (
|
||||
<section className={styles.content}>
|
||||
<aside>
|
||||
{loyaltyPage.sidebar
|
||||
? loyaltyPage.sidebar.map((block, i) => (
|
||||
<Sidebar key={i} block={block} />
|
||||
))
|
||||
: null}
|
||||
</aside>
|
||||
{loyaltyPage.sidebar ? <Sidebar blocks={loyaltyPage.sidebar} /> : null}
|
||||
|
||||
<MaxWidth className={styles.blocks} tag="main">
|
||||
<Blocks blocks={loyaltyPage.blocks} />
|
||||
</MaxWidth>
|
||||
|
||||
Reference in New Issue
Block a user