/** * ╔══════════════════════════════════════════════════════════════════╗ * ║ ║ * ║ ░█▀▀░█▀█░█▀▄░█▀▀░█░█ ░█▀▄░█▀▀░█░█░█▀▀ ║ * ║ ░█░░░█░█░█░█░█▀▀░▄▀▄ ░█░█░█▀▀░▀▄▀░▀▀█ ║ * ║ ░▀▀▀░▀▀▀░▀▀░░▀▀▀░▀░▀ ░▀▀░░▀▀▀░░▀░░▀▀▀ ║ * ║ ║ * ║ © 2026 CodeX Devs — All Rights Reserved ║ * ║ ║ * ║ discord ── https://discord.gg/codexdev ║ * ║ youtube ── https://youtube.com/@CodeXDevs ║ * ║ github ── https://github.com/RayExo ║ * ║ ║ * ╚══════════════════════════════════════════════════════════════════╝ */ "use client"; import React, { useEffect } from "react"; import { AlertTriangle, RefreshCw, Home } from "lucide-react"; import { Button } from "@/components/ui/button"; import Link from "next/link"; export default function DashboardError({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; }) { useEffect(() => { console.error("Dashboard Error:", error); }, [error]); return (

System Fault Detected

The neural link experienced an unexpected interruption. This could be due to a connection timeout or an internal API failure.

{process.env.NODE_ENV === 'development' && (
          {error.message}
        
)}
); }