From 83ec3b69fe05e86c2f9944de4e79bd867c192c5b Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Fri, 1 Nov 2024 12:17:48 +0800 Subject: [PATCH] Refactor app not-found page --- apps/helixbox-app/src/routes/not-found.tsx | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/apps/helixbox-app/src/routes/not-found.tsx b/apps/helixbox-app/src/routes/not-found.tsx index 60f6cee7..851c9f6e 100644 --- a/apps/helixbox-app/src/routes/not-found.tsx +++ b/apps/helixbox-app/src/routes/not-found.tsx @@ -1,17 +1,5 @@ -import { Link } from "react-router-dom"; +import { Navigate } from "react-router-dom"; export default function NotFound() { - return ( - <> -
-
-

Not Found !

-

Could not find requested resource

- - Return Home - -
-
- - ); + return ; }