fix 404 page from throwing an error
Some checks failed
deploy / deploy (push) Failing after 23s

This commit is contained in:
Lee 2023-10-20 22:06:27 +01:00
parent 6fb6c574bd
commit 37586d3a12

@ -1,10 +1,7 @@
import Card from "@/components/Card";
import Container from "@/components/Container";
import { headers } from "next/headers";
export default async function NotFound() {
const headersList = headers();
const domain = headersList.get("host");
return (
<Container>
<Card className="flex h-full items-center justify-center">