Skip to content

Commit 0882b22

Browse files
added null check
1 parent af238d6 commit 0882b22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controls/src/Core/Shell/ShellContent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Page IShellContentController.GetOrCreateContent()
9292

9393
if (GetValue(QueryAttributesProperty) is ShellRouteParameters delayedQueryParams)
9494
{
95-
result.SetValue(QueryAttributesProperty, delayedQueryParams);
95+
result?.SetValue(QueryAttributesProperty, delayedQueryParams);
9696
}
9797

9898
ContentCache = result;

0 commit comments

Comments
 (0)