Skip to content

Commit 9885067

Browse files
authored
Changed out of order streaming docs to use .with_cfg instead of .with_context (#536)
1 parent 35039b9 commit 9885067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs-router/src/doc_examples/untested_06/asynchronous.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ mod use_server_future_streaming {
639639
// ANCHOR: use_server_future_streaming
640640
fn main() {
641641
dioxus::LaunchBuilder::new()
642-
.with_context(server_only! {
642+
.with_cfg(server_only! {
643643
// Enable out of order streaming during SSR
644644
dioxus::fullstack::ServeConfig::builder().enable_out_of_order_streaming()
645645
})

0 commit comments

Comments
 (0)