浏览代码

Fix typos in examples

David Pedersen 2 年之前
父节点
当前提交
bf3f7ec490
共有 2 个文件被更改,包括 2 次插入2 次删除
  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>