"use client" // Error boundaries must be Client Components
import { AlertCircle } from "lucide-react"
import { useEffect } from "react"
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
interface ErrorProps {
title: string
description: string
}
function ErrorAlert(errorProps: ErrorProps) {
return (