From d6de1137783b0b42eed7206790cc43477ebf249c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 2 Jul 2023 18:58:18 +0300 Subject: style(corp/rih): integrate initial new frontend styles Change-Id: Ie36fb58efab9a1c2d563dc3d891301b152de1c52 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8918 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- corp/rih/frontend/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'corp/rih/frontend/src/main.rs') 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) -> Msg { +fn handle_submit(app: &App, _link: Scope) -> Msg { let token = app.captcha_token.as_ref().unwrap().clone(); let record = app.record.clone(); -- cgit 1.4.1