Redirect to 404 page if user not found
This commit is contained in:
@@ -28,6 +28,10 @@ const router = createBrowserRouter([
|
||||
path: "/*",
|
||||
Component: PageNotFound,
|
||||
},
|
||||
{
|
||||
path: "/404",
|
||||
Component: PageNotFound,
|
||||
},
|
||||
{
|
||||
path: "/",
|
||||
Component: Layout,
|
||||
|
||||
Reference in New Issue
Block a user