0
Fork 0
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:
Gao Sun 2022-03-16 15:49:30 +08:00 committed by GitHub
parent 1bc9568083
commit 5c89fe7cec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -18,6 +18,7 @@ import Callback from './pages/Callback';
import ConnectorDetails from './pages/ConnectorDetails';
import Connectors from './pages/Connectors';
import GetStarted from './pages/GetStarted';
import NotFound from './pages/NotFound';
import UserDetails from './pages/UserDetails';
import Users from './pages/Users';
@ -42,6 +43,7 @@ const Main = () => {
<Routes>
<Route path="callback" element={<Callback />} />
<Route element={<AppContent theme="light" />}>
<Route path="*" element={<NotFound />} />
<Route path="get-started" element={<GetStarted />} />
<Route path="applications">
<Route index element={<Applications />} />

View file

@ -0,0 +1,7 @@
import React from 'react';
const NotFound = () => {
return <div>NotFound</div>;
};
export default NotFound;