From 37586d3a125392bbda43a1884502dc57ec46341d Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 20 Oct 2023 22:06:27 +0100 Subject: [PATCH] fix 404 page from throwing an error --- src/app/not-found.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 837ff54..688853c 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -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 (