Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
bepyan committed Aug 6, 2024
1 parent 4a6d0da commit 05d7576
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/app/(playground)/pg/error/page.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<AMain>
<ALink href="./">playground</ALink>
<div>
<h1>Test</h1>
</div>
</AMain>
);
}

0 comments on commit 05d7576

Please sign in to comment.