From b5cd23ae50834eaf8a8f5504bb83d29549eaf82b Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 24 Nov 2022 14:43:42 -0500 Subject: Separate Table controller and view; display player hand from server --- webapp/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webapp/src/main.rs') diff --git a/webapp/src/main.rs b/webapp/src/main.rs index f9a3f01..72d0d29 100644 --- a/webapp/src/main.rs +++ b/webapp/src/main.rs @@ -3,7 +3,7 @@ use log::{debug, error, info, warn}; use yew::prelude::*; use yew_router::prelude::*; pub mod components; -use components::{AppContextProvider, ErrorInfo, Game, Table}; +use components::{AppContextProvider, ErrorInfo, Game, OnlineTable}; extern crate wee_alloc; pub mod routing; use crate::{components::use_app_context, routing::Route}; @@ -82,7 +82,7 @@ fn switch(routes: &Route) -> Html {
}, Route::Table { id } => html! { - + }, }; -- cgit v1.2.3