fix pages
This commit is contained in:
parent
0a31a3e5ad
commit
71f743a7a8
|
|
@ -1,10 +1,11 @@
|
|||
import React from "react";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import ProtectedRouteProvider from "../../lib/ProtectedRouteProvider";
|
||||
|
||||
function NotFoundPage() {
|
||||
const navigate = useNavigate();
|
||||
return (
|
||||
<div className="not_found_page">
|
||||
<ProtectedRouteProvider className="not_found_page">
|
||||
<div className="container-not-found">
|
||||
<p>
|
||||
404 <h6>|</h6>This page could not be found
|
||||
|
|
@ -14,7 +15,7 @@ function NotFoundPage() {
|
|||
<button onClick={() => navigate("/", { replace: true })}>Home</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ProtectedRouteProvider>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user