Reinis Mazeiks преди 3 години
родител
ревизия
152bad6433
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      examples/coordinates.rs

+ 3 - 3
examples/coordinates.rs

@@ -7,9 +7,9 @@ fn main() {
 }
 }
 
 
 fn app(cx: Scope) -> Element {
 fn app(cx: Scope) -> Element {
-    let page_coordinates = use_state(&cx, ||"".to_string());
-    let screen_coordinates = use_state(&cx, ||"".to_string());
-    let offset_coordinates = use_state(&cx, ||"".to_string());
+    let page_coordinates = use_state(&cx, || "".to_string());
+    let screen_coordinates = use_state(&cx, || "".to_string());
+    let offset_coordinates = use_state(&cx, || "".to_string());
 
 
     let container_style = r#"
     let container_style = r#"
         display: flex;
         display: flex;