Merge pull request #3957 from sbwalker/dev

fix issue when running .NET MAUI
This commit is contained in:
Shaun Walker 2024-03-05 12:00:34 -05:00 committed by GitHub
commit cf4907011b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@
{
@if (string.IsNullOrEmpty(_installation.Message))
{
if (PageState.RenderMode == RenderModes.Static)
if (PageState?.RenderMode == RenderModes.Static)
{
<CascadingValue Value="@_pageState">
<SiteRouter RenderMode="@RenderMode" Runtime="@Runtime" OnStateChange="@ChangeState" />