chore: move user fetch

This commit is contained in:
Arvid Norlin
2024-06-10 12:53:26 +02:00
parent 85aab88aec
commit 99c1822021
3 changed files with 6 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ import CardsGrid from "./CardsGrid"
import type { BlocksProps } from "@/types/components/loyalty/blocks"
import { LoyaltyBlocksTypenameEnum } from "@/types/components/loyalty/enums"
export async function Blocks({ blocks }: BlocksProps) {
export function Blocks({ blocks }: BlocksProps) {
return blocks.map((block) => {
switch (block.__typename) {
case LoyaltyBlocksTypenameEnum.LoyaltyPageBlocksContent: