chore: move user fetch
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user