diff options
author | crupest <crupest@outlook.com> | 2021-01-21 19:44:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-21 19:44:47 +0800 |
commit | 91ef5098e57ca4824ae4adc95c23d3689583f6a8 (patch) | |
tree | 1652d6e9bb0da83587d455687584f6af9443b1d7 /FrontEnd/src/app/App.tsx | |
parent | 2bf83a531a15e7895854f160b727d2dd150290d0 (diff) | |
download | timeline-91ef5098e57ca4824ae4adc95c23d3689583f6a8.tar.gz timeline-91ef5098e57ca4824ae4adc95c23d3689583f6a8.tar.bz2 timeline-91ef5098e57ca4824ae4adc95c23d3689583f6a8.zip |
feat: Add search page.
Diffstat (limited to 'FrontEnd/src/app/App.tsx')
-rw-r--r-- | FrontEnd/src/app/App.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FrontEnd/src/app/App.tsx b/FrontEnd/src/app/App.tsx index 7bd92bf7..0a7513e4 100644 --- a/FrontEnd/src/app/App.tsx +++ b/FrontEnd/src/app/App.tsx @@ -9,6 +9,7 @@ import Settings from "./views/settings"; import About from "./views/about"; import User from "./views/user"; import TimelinePage from "./views/timeline"; +import Search from "./views/search"; import AlertHost from "./views/common/alert/AlertHost"; import { dataStorage } from "./services/common"; @@ -59,6 +60,9 @@ const App: React.FC = () => { <Route path="/users/:username"> <User /> </Route> + <Route path="/search"> + <Search /> + </Route> {user && user.hasAdministrationPermission && ( <Route path="/admin"> <LazyAdmin user={user} /> |