Redirect to 404 page if user not found
This commit is contained in:
1 parent
883d19d7c4
commit
c2f4c9fa55
3 files changed
+22
-7
No files matched your search
@@ -28,6 +28,10 @@ const router = createBrowserRouter([
|
||||
path: "/*",
|
||||
Component: PageNotFound,
|
||||
},
|
||||
{
|
||||
path: "/404",
|
||||
Component: PageNotFound,
|
||||
},
|
||||
{
|
||||
path: "/",
|
||||
Component: Layout,
|
||||
|
||||
Reference in new issue
Block a user