fix the TypeScript error causing the build to fail. The issue was that

`req.json()`
This commit is contained in:
2025-10-13 13:52:58 +08:00
parent e97efa5ea1
commit a9041e9c22

View File

@@ -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)