From 4bb0b6b4da7a13200e9c11398c6d7601fdacff25 Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 29 May 2024 18:04:47 +0200 Subject: [PATCH] fix(web): don't redraw router when logging in --- web/src/app.rs | 48 ++++++++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/web/src/app.rs b/web/src/app.rs index a99e31e0..f324ad51 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -111,37 +111,33 @@ pub fn App() -> impl IntoView { // in a sense it's what we want: refreshing the home tl is main purpose, but also // server tl may contain stuff we can no longer see, or otherwise we may now be // entitled to see new posts. so while being ugly it's techically correct ig? - {move || { - view! { -
- - } - } else { - view! { } - } - /> +
+ + } + } else { + view! { } + } + /> - } /> - } /> - } /> + } /> + } /> + } /> - - } /> - + + } /> + - } /> - } /> + } /> + } /> - - + + - } /> - -
- } - }} + } /> +
+