summaryrefslogtreecommitdiff
path: root/webapp/src/main.rs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-11-15 15:14:48 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-11-15 15:15:06 -0500
commit87ede1e2b367a997440626ad9f583600d7cc42fc (patch)
treea3fd0008714e6d524c2e3b967734a0cfb6cf6cbd /webapp/src/main.rs
parent1f623cca3ea0937508b8c50f4c32a0972271e8f4 (diff)
Fix rust warnings
Diffstat (limited to 'webapp/src/main.rs')
-rw-r--r--webapp/src/main.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/webapp/src/main.rs b/webapp/src/main.rs
index 25d12f1..f9a3f01 100644
--- a/webapp/src/main.rs
+++ b/webapp/src/main.rs
@@ -1,16 +1,12 @@
-use std::rc::Rc;
-
#[allow(unused_imports)]
use log::{debug, error, info, warn};
use yew::prelude::*;
use yew_router::prelude::*;
pub mod components;
-use components::{AppContext, AppContextProvider, ErrorInfo, Game, Table};
-use gloo_net::http::Request;
+use components::{AppContextProvider, ErrorInfo, Game, Table};
extern crate wee_alloc;
pub mod routing;
use crate::{components::use_app_context, routing::Route};
-use uuid::Uuid;
// Use `wee_alloc` as the global allocator.
#[global_allocator]
@@ -97,4 +93,3 @@ fn switch(routes: &Route) -> Html {
</>
}
}
-