Rustfmt
This commit is contained in:
parent
1e31340583
commit
a4d2a3208b
|
@ -1,5 +1,5 @@
|
|||
use sycamore::prelude::*;
|
||||
use std::panic;
|
||||
use sycamore::prelude::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
|
@ -10,7 +10,7 @@ extern "C" {
|
|||
|
||||
enum AppMode {
|
||||
Encrypt,
|
||||
Decrypt
|
||||
Decrypt,
|
||||
}
|
||||
|
||||
#[component(EncryptionComponent<G>)]
|
||||
|
@ -19,7 +19,6 @@ fn encryption_component() -> View<G> {
|
|||
let input = Signal::new(String::new());
|
||||
let no_key = Signal::new(false);
|
||||
|
||||
|
||||
let crypted = create_memo(cloned!((keyword, input, no_key) => move || {
|
||||
let keyword = &**keyword.get();
|
||||
|
||||
|
|
Loading…
Reference in a new issue