From 6c9651194fda7a9167157e835fbe9fd691e9a1a9 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 23 Dec 2022 11:29:37 -0500 Subject: Replace table with a struct component This makes async & state handling much easier --- webapp/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'webapp/src/main.rs') diff --git a/webapp/src/main.rs b/webapp/src/main.rs index 73531d5..de4dd7a 100644 --- a/webapp/src/main.rs +++ b/webapp/src/main.rs @@ -8,6 +8,7 @@ use components::{AppContextProvider, ErrorInfo, OnlineTable}; extern crate wee_alloc; pub mod routing; use crate::{components::use_app_context, routing::Route}; +pub mod services; // Use `wee_alloc` as the global allocator. #[global_allocator] @@ -55,8 +56,6 @@ fn home() -> Html { }) }; - info!("home(): Error is {:?}", ctx.error()); - html! {