Browse Source

Fix typos in examples

David Pedersen 2 năm trước cách đây
mục cha
commit
bf3f7ec490
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      packages/liveview/examples/axum.rs
  2. 1 1
      packages/liveview/examples/salvo.rs

+ 1 - 1
packages/liveview/examples/axum.rs

@@ -28,7 +28,7 @@ async fn main() {
                     r#"
             <!DOCTYPE html>
             <html>
-                <head> <title>Dioxus LiveView with Warp</title>  </head>
+                <head> <title>Dioxus LiveView with axum</title>  </head>
                 <body> <div id="main"></div> </body>
                 {glue}
             </html>

+ 1 - 1
packages/liveview/examples/salvo.rs

@@ -41,7 +41,7 @@ fn index(_depot: &mut Depot, res: &mut Response) {
         r#"
             <!DOCTYPE html>
             <html>
-                <head> <title>Dioxus LiveView with Warp</title>  </head>
+                <head> <title>Dioxus LiveView with Salvo</title>  </head>
                 <body> <div id="main"></div> </body>
                 {glue}
             </html>