about summary refs log tree commit diff
path: root/corp/rih/frontend/src/main.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-07-02T15·58+0300
committerclbot <clbot@tvl.fyi>2023-07-02T16·03+0000
commitd6de1137783b0b42eed7206790cc43477ebf249c (patch)
tree761866dc67fd8a77495f97974b652e31303d7805 /corp/rih/frontend/src/main.rs
parentc767460440f8106759775a5cb917e1d9c0b7d334 (diff)
style(corp/rih): integrate initial new frontend styles r/6386
Change-Id: Ie36fb58efab9a1c2d563dc3d891301b152de1c52
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8918
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
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();