From 3e6ea975cbb07668166ce047efa08f828c1791b8 Mon Sep 17 00:00:00 2001 From: martines3000 Date: Wed, 24 Apr 2024 17:34:05 +0200 Subject: [PATCH] fix: remove async from client component --- .../app/(public)/share-presentation/[id]/FormattedView.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/dapp/src/app/[locale]/app/(public)/share-presentation/[id]/FormattedView.tsx b/packages/dapp/src/app/[locale]/app/(public)/share-presentation/[id]/FormattedView.tsx index 3a917d5aa..8290acf4f 100644 --- a/packages/dapp/src/app/[locale]/app/(public)/share-presentation/[id]/FormattedView.tsx +++ b/packages/dapp/src/app/[locale]/app/(public)/share-presentation/[id]/FormattedView.tsx @@ -22,7 +22,7 @@ import { formatDid } from '@/utils/format'; import type { VerificationResult } from '@blockchain-lab-um/extended-verification'; import type { Result } from '@blockchain-lab-um/masca-connector'; -export const FormattedView = async ({ +export const FormattedView = ({ credential, presentation, page, @@ -35,7 +35,6 @@ export const FormattedView = async ({ total: number; verificationResult: Result; }) => { - console.log('FormattedView'); const t = useTranslations('FormattedView'); const router = useRouter();