aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/home.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-12 23:51:20 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-12 23:51:20 +0200
commit77274b9a2af62124293b5a8a0ec0e430fa046de8 (patch)
tree15f176d57b4ea4d96f85eb9ba24bc94ab1b1660f /server/src/routes/ui/home.rs
parent161693f372ea01d945b111501c6c1af4182c283d (diff)
downloadjellything-77274b9a2af62124293b5a8a0ec0e430fa046de8.tar
jellything-77274b9a2af62124293b5a8a0ec0e430fa046de8.tar.bz2
jellything-77274b9a2af62124293b5a8a0ec0e430fa046de8.tar.zst
flat view
Diffstat (limited to 'server/src/routes/ui/home.rs')
-rw-r--r--server/src/routes/ui/home.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/routes/ui/home.rs b/server/src/routes/ui/home.rs
index dde2369..cdde478 100644
--- a/server/src/routes/ui/home.rs
+++ b/server/src/routes/ui/home.rs
@@ -18,7 +18,7 @@ pub fn r_home(_sess: Session, library: &State<Library>) -> DynLayoutPage {
title: "Home".to_string(),
content: markup::new! {
p { "Welcome to " @CONF.brand }
- @NodePage { node: library.root.clone() }
+ @NodePage { node: &library.root }
},
..Default::default()
}