'use client'; import Link from 'next/link'; import { useEffect } from 'react'; import { Container } from '@/components/ui/section'; export default function Error({ error, reset }: { error: Error & { digest?: string }; reset: () => void }) { useEffect(() => { // Error shells render from scratch and can lose the prepaint theme attribute. if (!document.documentElement.getAttribute('data-theme')) { const dark = window.matchMedia('(prefers-color-scheme: dark)').matches; document.documentElement.setAttribute('data-theme', dark ? 'dark' : 'light'); } }, []); return (

Error

Something went wrong.

The page could not be rendered. The dataset itself is intact — this is usually the API being briefly unavailable.

{error.digest &&

ref {error.digest}

}
Home System status
); }