StackedRouter: new router simulates app behaviour #45

Merged
Rubicon merged 18 commits from stacky into master 2024-11-18 10:35:30 +00:00
Showing only changes of commit 2da7bf134e - Show all commits

View file

@ -46,10 +46,10 @@ const Routing: Component = () => {
return ( return (
<StackedRouter> <StackedRouter>
<Route path="/" component={TimelineHome} /> <Route path="/" component={TimelineHome} />
<Route path="/settings" component={Settings} />
<Route path="/settings/language" component={LanguageSettings} /> <Route path="/settings/language" component={LanguageSettings} />
<Route path="/settings/region" component={RegionSettings} /> <Route path="/settings/region" component={RegionSettings} />
<Route path="/motions" component={MotionSettings} /> <Route path="/settings/motions" component={MotionSettings} />
<Route path="/settings" component={Settings} />
<Route path="/:acct/toot/:id" component={TootBottomSheet} /> <Route path="/:acct/toot/:id" component={TootBottomSheet} />
<Route path="/:acct/profile/:id" component={Profile} /> <Route path="/:acct/profile/:id" component={Profile} />