diff --git a/src/components/import_key.rs b/src/components/import_key.rs index 69b2eec..0567c70 100644 --- a/src/components/import_key.rs +++ b/src/components/import_key.rs @@ -16,8 +16,6 @@ pub enum ImportKeyStep { Import, } -// MI -#[component] pub fn ImportKey() -> Element { let mut step = use_signal(|| ImportKeyStep::Loading); let sol_balance = use_sol_balance(); @@ -61,8 +59,6 @@ pub fn ImportKey() -> Element { e } -// MI -#[component] fn ImportKeyLoading() -> Element { rsx! { div { @@ -92,8 +88,6 @@ fn ImportKeyWarning(step: Signal, balance: u64) -> Element { } } -// MI -#[component] fn ImportKeyHeader() -> Element { rsx! { div { @@ -115,8 +109,6 @@ fn ImportKeyHeader() -> Element { const KEY_LENGTH: usize = 64; -// MI -#[component] fn ImportKeyImport() -> Element { let mut sol_balance = use_signal::>(|| None); let mut keypair_persistent = use_keypair_persistent(); @@ -124,8 +116,7 @@ fn ImportKeyImport() -> Element { let mut enable_import_button = use_signal(|| false); let mut private_key_input = use_signal(|| "".to_string()); let gateway = use_gateway(); - // let nav = navigator(); // MI - let nav = use_navigator(); + let nav = navigator(); log::info!("OK: ... {}", private_key_input.read().clone()); // MI use_future(move || {