feat: add no match route (#3659)

This commit is contained in:
Garfield Lee authored and GitHub committed 2023-08-10 13:43:51 +00:00
1 parent 7c4b8866d3
commit 358c3a5bb2
1 file changed
+4
+4
View File
@@ -28,6 +28,10 @@ export const router = createBrowserRouter(
path: '/404', path: '/404',
lazy: () => import('./pages/404'), lazy: () => import('./pages/404'),
}, },
{
path: '*',
lazy: () => import('./pages/404'),
},
], ],
{ {
future: { future: {