From 5dc30ab2ccfd4378b3d6335d359b217c211d5109 Mon Sep 17 00:00:00 2001 From: Maks <41080668+Maks19@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:09:53 +0200 Subject: [PATCH] fix storefront report (#1224) --- .../blocks/StorefrontCommunityChallengeBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-app/src/modules/storefront-views/blocks/StorefrontCommunityChallengeBlock.tsx b/packages/web-app/src/modules/storefront-views/blocks/StorefrontCommunityChallengeBlock.tsx index 6c97df150..4e858eae9 100644 --- a/packages/web-app/src/modules/storefront-views/blocks/StorefrontCommunityChallengeBlock.tsx +++ b/packages/web-app/src/modules/storefront-views/blocks/StorefrontCommunityChallengeBlock.tsx @@ -12,7 +12,7 @@ type ReportData = { } export const StorefrontCommunityChallengeBlock = ({ block }: Props) => { - const reportData: ReportData = JSON.parse(block.data?.data || '') + const reportData: ReportData = JSON.parse(block.data?.data || '{}') return (