From 05d7576b87e7d2a72e08835eaed32453c09842e1 Mon Sep 17 00:00:00 2001 From: bepyan Date: Tue, 6 Aug 2024 20:00:55 +0900 Subject: [PATCH] fix: build error --- src/app/(playground)/pg/error/page.tsx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/app/(playground)/pg/error/page.tsx b/src/app/(playground)/pg/error/page.tsx index 14e1a6c..4d54a13 100644 --- a/src/app/(playground)/pg/error/page.tsx +++ b/src/app/(playground)/pg/error/page.tsx @@ -1,3 +1,19 @@ +"use client"; + +import { useEffect } from "react"; +import { ALink, AMain } from "~/app/(playground)/pg/inner-tools"; + export default function Page() { - throw new Error("This is a test error"); + useEffect(() => { + throw new Error("This is an intentional error"); + }, []); + + return ( + + playground +
+

Test

+
+
+ ); }