diff options
Diffstat (limited to 'webapp/src/components/table.rs')
-rw-r--r-- | webapp/src/components/table.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/src/components/table.rs b/webapp/src/components/table.rs index b8da804..bccbfe4 100644 --- a/webapp/src/components/table.rs +++ b/webapp/src/components/table.rs @@ -1,6 +1,5 @@ use log::info; use yew::prelude::*; -use yew_router::prelude::*; use crate::use_app_context; @@ -8,9 +7,10 @@ use crate::use_app_context; pub fn table(props: &TableProps) -> Html { let ctx = use_app_context(); - let table_state: UseStateHandle<Option<protocol::TableView>> = use_state(|| None); + // let table_state: UseStateHandle<Option<protocol::TableView>> = use_state(|| None); { - let table_state = table_state.clone(); + // TODO update this from server state + // let table_state = table_state.clone(); let ctx = ctx.clone(); ctx.spawn_async(async move { info!("Getting table state"); |