summaryrefslogtreecommitdiff
path: root/webapp/src/main.rs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-12-23 11:29:37 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-12-23 11:30:01 -0500
commit6c9651194fda7a9167157e835fbe9fd691e9a1a9 (patch)
tree4e24f243bde8923f15b125db863ba58732617251 /webapp/src/main.rs
parent868703627bfd27925a53fcfbdd3dbeef831660c8 (diff)
Replace table with a struct component
This makes async & state handling much easier
Diffstat (limited to 'webapp/src/main.rs')
-rw-r--r--webapp/src/main.rs3
1 files changed, 1 insertions, 2 deletions
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! {
<ul>
<li>{ user }</li>