From 22452073063b9211aa2aa38a1b1e2cf2e44cf133 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 22 Dec 2022 13:31:24 -0500 Subject: Delete outdated `game` component --- webapp/src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'webapp/src/main.rs') diff --git a/webapp/src/main.rs b/webapp/src/main.rs index f99dfe0..73531d5 100644 --- a/webapp/src/main.rs +++ b/webapp/src/main.rs @@ -4,7 +4,7 @@ use yew::prelude::*; use yew_router::prelude::*; pub mod components; pub mod utils; -use components::{AppContextProvider, ErrorInfo, Game, OnlineTable}; +use components::{AppContextProvider, ErrorInfo, OnlineTable}; extern crate wee_alloc; pub mod routing; use crate::{components::use_app_context, routing::Route}; @@ -60,7 +60,6 @@ fn home() -> Html { html! { } @@ -79,9 +78,6 @@ fn header() -> Html { fn switch(routes: &Route) -> Html { let main = match routes { Route::Home => html! { }, - Route::Playground => html! { -
- }, Route::Table { id } => html! { }, -- cgit v1.2.3