From 33060b5dbba7709ce4a18ccc811a12edbf71582b Mon Sep 17 00:00:00 2001 From: IO420 <320154041@pcpuma.acatlan.unam.mx> Date: Fri, 19 Sep 2025 11:26:00 -0600 Subject: [PATCH] added functionality to button --- app/not-found.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/app/not-found.tsx b/app/not-found.tsx index 6cfec87..b517f8d 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -1,19 +1,28 @@ +'use client' + +import { useRouter } from "next/navigation"; + export default function NotFound() { + const router = useRouter(); + + const handleButton = () => { + router.push("/Impresiones"); + }; + return (
PƔgina no encontrada - {/* Tƭtulo */}

404 - PƔgina no encontrada

- {/* Texto */}

Lo sentimos, la pƔgina que buscas no existe.

Por favor, verifica la URL o regresa a la pƔgina principal.

- +
); }