error boundary

This commit is contained in:
Batyr 2025-05-24 15:50:46 +05:00
parent 4c1858ed39
commit e93025f139
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
import { FC } from "react";
import { cn } from "@/lib/utils";
interface Props {
className?: string;
}
export const Error: FC<Props> = ({ className }) => {
return (
<div className={cn("container py-32", className)}>
<h1 className="text-5xl text-center">Oops, something went wrong</h1>
</div>
);
};