This commit is contained in:
12
src/app/components/not-found.tsx
Normal file
12
src/app/components/not-found.tsx
Normal file
@ -0,0 +1,12 @@
|
||||
type NotFoundProps = {
|
||||
message: string;
|
||||
};
|
||||
|
||||
export function NotFound({ message }: NotFoundProps) {
|
||||
return (
|
||||
<div className="flex flex-col justify-center text-center">
|
||||
<h1 className="text-xl text-red-400">Not Found</h1>
|
||||
<p>{message}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user