mirror of
https://github.com/speice-io/isomorphic-rust
synced 2024-11-22 16:08:55 -05:00
Fix an indentation issue
This commit is contained in:
parent
e53a938d5a
commit
26509b50e7
@ -1,15 +1,15 @@
|
||||
#[macro_use]
|
||||
extern crate virtual_dom_rs;
|
||||
#[macro_use]
|
||||
extern crate virtual_dom_rs;
|
||||
|
||||
extern crate percy_webapis;
|
||||
extern crate wasm_bindgen;
|
||||
extern crate percy_webapis;
|
||||
extern crate wasm_bindgen;
|
||||
|
||||
use percy_webapis::log;
|
||||
use percy_webapis::Element;
|
||||
use wasm_bindgen::prelude::*;
|
||||
use percy_webapis::log;
|
||||
use percy_webapis::Element;
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
pub fn main() -> Element {
|
||||
#[wasm_bindgen]
|
||||
pub fn main() -> Element {
|
||||
log("Entered Rust code");
|
||||
|
||||
let elem = html! {
|
||||
@ -17,4 +17,4 @@
|
||||
};
|
||||
|
||||
elem.create_element()
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user