diff --git a/src/app/error.tsx b/src/app/error.tsx index db6d36727..87bf2262c 100644 --- a/src/app/error.tsx +++ b/src/app/error.tsx @@ -1,16 +1,13 @@ 'use client'; -import { Button } from '@/components/ui/button'; import { InfoIcon } from 'lucide-react'; import Link from 'next/link'; import { useEffect } from 'react'; export default function ErrorPage({ error, - reset, }: { error: Error & { digest?: string }; - reset: () => void; }) { useEffect(() => { // Log the error to an error reporting service diff --git a/src/components/comment/CommentApproveForm.tsx b/src/components/comment/CommentApproveForm.tsx index c344293ef..0109a3b2c 100644 --- a/src/components/comment/CommentApproveForm.tsx +++ b/src/components/comment/CommentApproveForm.tsx @@ -34,8 +34,8 @@ const CommentApproveForm = ({ }); }; return ( -