From d334f95408274230c830b69a2c738ce67038489b Mon Sep 17 00:00:00 2001 From: Miraland Labs Date: Thu, 20 Jun 2024 15:55:28 +0800 Subject: [PATCH] remove component attr in import key --- src/components/import_key.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/import_key.rs b/src/components/import_key.rs index 53e6b6c..a426ce0 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();