소스 검색

Use the launch builder instead of web launch in the fullstack auth example (#3640)

Evan Almloff 5 달 전
부모
커밋
fb7b1a30bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/fullstack-auth/src/main.rs

+ 1 - 1
examples/fullstack-auth/src/main.rs

@@ -13,7 +13,7 @@ fn main() {
 
     #[cfg(feature = "web")]
     // Hydrate the application on the client
-    dioxus_web::launch::launch_cfg(app, dioxus_web::Config::new().hydrate(true));
+    LaunchBuilder::web().launch(app);
 
     #[cfg(feature = "server")]
     {