summaryrefslogtreecommitdiff
path: root/webapp/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/main.rs')
-rw-r--r--webapp/src/main.rs4
1 files changed, 2 insertions, 2 deletions
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 {
<div class="game-layout"><Game /></div>
},
Route::Table { id } => html! {
- <Table table={ protocol::Table { id: *id } } />
+ <OnlineTable table={ protocol::Table { id: *id } } />
},
};