Skip to content

Commit

Permalink
remove component attr in import key
Browse files Browse the repository at this point in the history
  • Loading branch information
miralandlabs committed Jun 20, 2024
1 parent 44fe2df commit d334f95
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/components/import_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -61,8 +59,6 @@ pub fn ImportKey() -> Element {
e
}

// MI
#[component]
fn ImportKeyLoading() -> Element {
rsx! {
div {
Expand Down Expand Up @@ -92,8 +88,6 @@ fn ImportKeyWarning(step: Signal<ImportKeyStep>, balance: u64) -> Element {
}
}

// MI
#[component]
fn ImportKeyHeader() -> Element {
rsx! {
div {
Expand All @@ -115,8 +109,6 @@ fn ImportKeyHeader() -> Element {

const KEY_LENGTH: usize = 64;

// MI
#[component]
fn ImportKeyImport() -> Element {
let mut sol_balance = use_signal::<Option<u64>>(|| None);
let mut keypair_persistent = use_keypair_persistent();
Expand Down

0 comments on commit d334f95

Please sign in to comment.