Browse Source

fix router example indentation

Adrian Wannenmacher 2 năm trước cách đây
mục cha
commit
e26e44fbc5
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      packages/router/examples/simple.rs

+ 3 - 3
packages/router/examples/simple.rs

@@ -22,9 +22,9 @@ fn App(cx: Scope) -> Element {
     );
 
     render! {
-            h1 { "Simple Example App" }
-            Outlet { }
-            Link {
+        h1 { "Simple Example App" }
+        Outlet { }
+        Link {
             target: named::<RootIndex>(),
             "Go to root"
         }