about summary refs log tree commit diff
path: root/corp/rih/frontend/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'corp/rih/frontend/src/main.rs')
-rw-r--r--corp/rih/frontend/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/corp/rih/frontend/src/main.rs b/corp/rih/frontend/src/main.rs
index efccaaece287..65f9c79a540e 100644
--- a/corp/rih/frontend/src/main.rs
+++ b/corp/rih/frontend/src/main.rs
@@ -4,7 +4,6 @@ use gloo::console;
 use gloo::history::{BrowserHistory, History};
 use gloo::net::http;
 use gloo::storage::{LocalStorage, Storage};
-use gloo::utils::format::JsValueSerdeExt;
 use rand::seq::IteratorRandom;
 use rand::thread_rng;
 use serde::{Deserialize, Serialize};
@@ -345,7 +344,7 @@ async fn submit_data(captcha_token: &str, record: &Record) -> bool {
 }
 
 /// Handle the submit event, if all data was successfully collected.
-fn handle_submit(app: &App, link: Scope<App>) -> Msg {
+fn handle_submit(app: &App, _link: Scope<App>) -> Msg {
     let token = app.captcha_token.as_ref().unwrap().clone();
     let record = app.record.clone();