aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/App.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-10 16:04:03 +0800
committercrupest <crupest@outlook.com>2022-04-10 16:04:03 +0800
commit928ba0ce419bacba113951095278a5138ead34cf (patch)
treead4bc6b985c21e751199a25a77f36da7163a47c5 /FrontEnd/src/App.tsx
parent86160e4a5697615452a7e06dc78f8be4c8b2515f (diff)
downloadtimeline-928ba0ce419bacba113951095278a5138ead34cf.tar.gz
timeline-928ba0ce419bacba113951095278a5138ead34cf.tar.bz2
timeline-928ba0ce419bacba113951095278a5138ead34cf.zip
...
Diffstat (limited to 'FrontEnd/src/App.tsx')
-rw-r--r--FrontEnd/src/App.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/src/App.tsx b/FrontEnd/src/App.tsx
index 69223abb..5e61848a 100644
--- a/FrontEnd/src/App.tsx
+++ b/FrontEnd/src/App.tsx
@@ -8,7 +8,6 @@ import Home from "./views/home";
import Login from "./views/login";
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 Admin from "./views/admin";
@@ -35,8 +34,8 @@ function App(): ReactElement | null {
<Route path="/login" element={<Login />} />
<Route path="/settings" element={<Settings />} />
<Route path="/about" element={<About />} />
- <Route path="/timelines/:name" element={<TimelinePage />} />
- <Route path="/users/:username" element={<User />} />
+ <Route path="/:owner" element={<TimelinePage />} />
+ <Route path="/:owner/:timeline" element={<TimelinePage />} />
<Route path="/search" element={<Search />} />
<Route path="/admin" element={<Admin />} />
<Route element={<NoMatch />} />