Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rockfordlhotka authored Sep 10, 2024
1 parent a856c05 commit 4f22410
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ The library provides a `RenderModeProvider` service that you can inject into you

var mode = RenderMode.GetRenderMode(this);

@if (mode.IsInteractive && mode.IsServer)
@if (mode.IsInteractive() && mode.IsServer())
{
<p>This is a server interactive Blazor page</p>
}
else if (mode.IsInteractive && mode.IsWebAssembly)
else if (mode.IsWebAssembly())
{
<p>This is a WebAssembly interactive Blazor page</p>
}
else if (mode.IsServer && mode.IsStreaming)
else if (mode.IsServer() && mode.IsStreaming())
{
<p>This is a streaming server static Blazor page</p>
}
Expand Down

0 comments on commit 4f22410

Please sign in to comment.