diff --git a/web/src/auth.rs b/web/src/auth.rs index 2803d68..843bc9a 100644 --- a/web/src/auth.rs +++ b/web/src/auth.rs @@ -36,9 +36,8 @@ pub fn LoginBox( } />
- - - + } > + + + +
} diff --git a/web/src/page.rs b/web/src/page.rs index 324675b..ed9b7c4 100644 --- a/web/src/page.rs +++ b/web/src/page.rs @@ -208,23 +208,24 @@ pub fn DebugPage() -> impl IntoView {
debug
+
(&url, auth).await { + Ok(x) => set_object.set(x), + Err(e) => set_object.set(serde_json::Value::String(e.to_string())), + } + }); + } > - +
- (&url, auth).await { - Ok(x) => set_object.set(x), - Err(e) => set_object.set(serde_json::Value::String(e.to_string())), - } - }); - } /> -
+
 				{move || serde_json::to_string_pretty(&object.get()).unwrap_or("unserializable".to_string())}