mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
feat(console): not found page (#395)
This commit is contained in:
parent
1bc9568083
commit
5c89fe7cec
2 changed files with 9 additions and 0 deletions
|
@ -18,6 +18,7 @@ import Callback from './pages/Callback';
|
||||||
import ConnectorDetails from './pages/ConnectorDetails';
|
import ConnectorDetails from './pages/ConnectorDetails';
|
||||||
import Connectors from './pages/Connectors';
|
import Connectors from './pages/Connectors';
|
||||||
import GetStarted from './pages/GetStarted';
|
import GetStarted from './pages/GetStarted';
|
||||||
|
import NotFound from './pages/NotFound';
|
||||||
import UserDetails from './pages/UserDetails';
|
import UserDetails from './pages/UserDetails';
|
||||||
import Users from './pages/Users';
|
import Users from './pages/Users';
|
||||||
|
|
||||||
|
@ -42,6 +43,7 @@ const Main = () => {
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route path="callback" element={<Callback />} />
|
<Route path="callback" element={<Callback />} />
|
||||||
<Route element={<AppContent theme="light" />}>
|
<Route element={<AppContent theme="light" />}>
|
||||||
|
<Route path="*" element={<NotFound />} />
|
||||||
<Route path="get-started" element={<GetStarted />} />
|
<Route path="get-started" element={<GetStarted />} />
|
||||||
<Route path="applications">
|
<Route path="applications">
|
||||||
<Route index element={<Applications />} />
|
<Route index element={<Applications />} />
|
||||||
|
|
7
packages/console/src/pages/NotFound/index.tsx
Normal file
7
packages/console/src/pages/NotFound/index.tsx
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
const NotFound = () => {
|
||||||
|
return <div>NotFound</div>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default NotFound;
|
Loading…
Reference in a new issue