Skip to content

Commit

Permalink
fix: fix routing issues by disabling animatedroutes
Browse files Browse the repository at this point in the history
  • Loading branch information
akarras committed Sep 23, 2023
1 parent aa3036c commit 411b76a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ultros-frontend/ultros-app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ pub fn App(worlds: AppResult<Arc<WorldHelper>>) -> impl IntoView {
<ProfileDisplay />
</div>
</nav>
<AnimatedRoutes outro="route-out" intro="route-in" outro_back="route-out-back" intro_back="route-in-back">
// <AnimatedRoutes outro="route-out" intro="route-in" outro_back="route-out-back" intro_back="route-in-back">
// https://github.com/leptos-rs/leptos/issues/1754
<Routes>
<Route path="" view=HomePage/>
<Route path="retainers" view=Retainers>
<Route path="edit" view=EditRetainers/>
Expand All @@ -121,7 +123,7 @@ pub fn App(worlds: AppResult<Arc<WorldHelper>>) -> impl IntoView {
<Route path="analyzer/:world" view=AnalyzerWorldView />
<Route path="settings" view=Settings/>
<Route path="profile" view=Profile/>
</AnimatedRoutes>
</Routes>
</Router>
</div>
<footer class="flex-column flex-space flex-center">
Expand Down

0 comments on commit 411b76a

Please sign in to comment.