From 0cccaaaf50aeb614c601d2e5448f168404f95058 Mon Sep 17 00:00:00 2001 From: Tejas Panchal Date: Thu, 31 Jul 2025 22:54:11 +0530 Subject: [PATCH] error page --- src/components/error/Error.jsx | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/components/error/Error.jsx b/src/components/error/Error.jsx index 6776274..df4ea80 100644 --- a/src/components/error/Error.jsx +++ b/src/components/error/Error.jsx @@ -4,14 +4,24 @@ import { useNavigate } from "react-router-dom" function Error({ error }) { const navigate = useNavigate(); return ( -
+
- -

{error === "404" ? "404 Error" : "Error"}

-

Oops! We couldn't find this page.

-