diff --git a/src/app.rs b/src/app.rs
index cdb249c0..98fb01f8 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -42,7 +42,7 @@ fn Home(cx: Scope) -> impl IntoView {
"Nix Info"
-
"Loading nix-info" }>
+ }>
} >
{nix_info.read(cx)}
@@ -56,6 +56,16 @@ fn Home(cx: Scope) -> impl IntoView {
}
}
+// A loading spinner
+#[component]
+fn Spinner(cx: Scope) -> impl IntoView {
+ view! {cx,
+
+ Loading...
+
+ }
+}
+
/// link
#[component]
fn Link(