Skip to content

Commit 24804da

Browse files
authored
Fix build
1 parent db4236b commit 24804da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Components/Endpoints/src/Rendering/EndpointComponentState.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ public EndpointComponentState(Renderer renderer, int componentId, IComponent com
4343
{
4444
var (sequence, key) = _renderer.GetSequenceAndKey(ParentComponentState);
4545
var marker = boundary.GetComponentMarkerKey(sequence, key);
46-
return marker?.Serialized();
46+
if (!marker.Equals(default))
47+
{
48+
return marker.Serialized();
49+
}
4750
}
4851

4952
// Fall back to the default implementation

0 commit comments

Comments
 (0)