瀏覽代碼

fix router example indentation

Adrian Wannenmacher 2 年之前
父節點
當前提交
e26e44fbc5
共有 1 個文件被更改,包括 3 次插入3 次删除
  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"
         }