From a9041e9c22f0983d5654f0d23484beafe0bf3a14 Mon Sep 17 00:00:00 2001 From: pkupuk Date: Mon, 13 Oct 2025 13:52:58 +0800 Subject: [PATCH] fix the TypeScript error causing the build to fail. The issue was that `req.json()` --- src/blocks/Form/Component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blocks/Form/Component.tsx b/src/blocks/Form/Component.tsx index 428265e..f5f5639 100644 --- a/src/blocks/Form/Component.tsx +++ b/src/blocks/Form/Component.tsx @@ -74,7 +74,7 @@ export const FormBlock: React.FC< method: 'POST', }) - const res = await req.json() + const res = (await req.json()) as any clearTimeout(loadingTimerID)