From 44effa4f24bdf333ce7437bc08daa72bae39b75f Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 1 Nov 2022 20:19:12 +0100 Subject: Frontend: Result component: Add basic structure --- frontend/src/app.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/app.rs b/frontend/src/app.rs index 03f466d..d4ef37c 100644 --- a/frontend/src/app.rs +++ b/frontend/src/app.rs @@ -15,10 +15,14 @@ pub struct ResultComponentProps { #[function_component(ResultComponent)] fn result_component(props: &ResultComponentProps) -> Html { html! { -
+ } } @@ -34,7 +38,6 @@ pub struct OSSEProps { pub initial_search_query: Option, } -//TODO: Error pub enum OSSEMessage { SearchSubmitted, SearchChanged(String), -- cgit 1.4.1