diff --git a/src/pages/vote.rs b/src/pages/vote.rs index ffa1754..c85b3bb 100644 --- a/src/pages/vote.rs +++ b/src/pages/vote.rs @@ -32,7 +32,7 @@ use crate::{ use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { - #[wasm_bindgen(catch, js_namespace = window, js_name = topupThenInitiativeVote)] + #[wasm_bindgen(catch, js_namespace = window, js_name = initiativeVote)] async fn topup_then_initiative_vote( membershipId: u16, pollIndex: u16,