Skip to content

Commit 799cc35

Browse files
committed
[dashboard] Implement 404 page
1 parent c64826f commit 799cc35

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/dashboard/src/App.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ function App() {
106106
<Route path={["/admin"]} exact>
107107
<Redirect to="/admin/users"/>
108108
</Route>
109+
<Route path="*" /* status={404} */>
110+
<div className="mt-48 text-center">
111+
<h1 className="text-gray-500 text-3xl">404</h1>
112+
<p className="mt-4 text-lg">Page not found.</p>
113+
</div>
114+
</Route>
109115
</Switch>
110116
</div>
111117
</Route>;

0 commit comments

Comments
 (0)