import { useNavigate, useRouter } from '@tanstack/react-router' import { cn } from '@/lib/utils' import { Button } from '@/components/ui/button' interface GeneralErrorProps extends React.HTMLAttributes { minimal?: boolean } export default function GeneralError({ className, minimal = false, }: GeneralErrorProps) { const navigate = useNavigate() const { history } = useRouter() return (
{!minimal && (

500

)} Oops! Something went wrong {`:')`}

We apologize for the inconvenience.
Please try again later.

{!minimal && (
)}
) }