Updates to client
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::models::media::Media;
|
||||
use crate::components::{MediaGrid, Search};
|
||||
use dioxus::prelude::*;
|
||||
|
||||
#[component]
|
||||
@@ -6,12 +6,8 @@ pub fn Home() -> Element {
|
||||
rsx! {
|
||||
div { id: "content",
|
||||
"This is home"
|
||||
Search { },
|
||||
MediaGrid { }
|
||||
}
|
||||
}
|
||||
}
|
||||
#[component]
|
||||
fn MediaDisplay(media: Media) -> Element {
|
||||
rsx! {
|
||||
div { "{media.id}" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user