Skip to content

Commit 60995b7

Browse files
committed
Fix the parameters order.
1 parent a586b7f commit 60995b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/Web.JS/src/Rendering/StreamingRendering.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ class BlazorStreamingUpdate extends HTMLElement {
4747
} else {
4848
switch (node.getAttribute('type')) {
4949
case 'redirection':
50-
redirect(node, false);
50+
redirect(node, true);
5151
break;
5252
case 'not-found':
53-
redirect(node, true);
53+
redirect(node, false);
5454
break;
5555
case 'error':
5656
// This is kind of brutal but matches what happens without progressive enhancement

0 commit comments

Comments
 (0)