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/Copy-to-clipbord.tsx b/src/components/Copy-to-clipbord.tsx index 8c56ddd0a..f556262df 100644 --- a/src/components/Copy-to-clipbord.tsx +++ b/src/components/Copy-to-clipbord.tsx @@ -19,8 +19,8 @@ const CopyToClipboard = ({ }; return ( -