From cfa2461ae3b463a73e49bda75e58e12d02aa8d50 Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Wed, 19 Jun 2024 19:49:31 +0200 Subject: [PATCH] Refactor NotFoundPage component in not-found.tsx --- app/not-found.tsx | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/app/not-found.tsx b/app/not-found.tsx index b261e32..a949aca 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -1,20 +1,23 @@ +'use client'; import { Button } from "@/components/ui/button"; -import Link from "next/link"; -function NotFoundPage() { +export default function NotFoundPage() { return ( -
-
-

404

-

Uh-oh!

-

We can't find that page.

- - +
+
+

+ 404 +

+

+ Oops, the page you are looking for could not be found. +

+
); -} - -export default NotFoundPage; +} \ No newline at end of file