Skip to content

Commit 5e6d104

Browse files
ilonatommyjaviercn
andauthored
Update src/Components/test/testassets/Components.TestServer/RazorComponents/Pages/Routing/SSRRedirectionStreaming.razor
Co-authored-by: Javier Calvarro Nelson <[email protected]>
1 parent e647f2a commit 5e6d104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/test/testassets/Components.TestServer/RazorComponents/Pages/Routing/SSRRedirectionStreaming.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@code {
1313
private async Task Submit()
1414
{
15-
await Task.Delay(1000); // Simulate some async work to let the streaming begin
15+
await Task.Yield();
1616
NavigationManager.NavigateTo("/subdir/routing");
1717
}
1818
}

0 commit comments

Comments
 (0)