Skip to content

Commit db4236b

Browse files
javiercnilonatommy
andauthored
Apply suggestions from code review
Address feedback Co-authored-by: Ilona Tomkowicz <[email protected]>
1 parent 7e4acfa commit db4236b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Components/Endpoints/src/Rendering/EndpointHtmlRenderer.Prerendering.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ internal static ServerComponentInvocationSequence GetOrCreateInvocationId(HttpCo
314314
}
315315

316316
// Grab the parent of the boundary component. We need to find the SSRRenderModeBoundary component marker frame
317-
// within it. AS when we do `@rendermode="InteractiveServer" @key="some-key" the sequence we are interested in
317+
// within it. As when we do `@rendermode="InteractiveServer" @key="some-key" the sequence we are interested in
318318
// is the one on the SSRRenderModeBoundary component marker frame, not the one on the nested component frame.
319319
// Same for the key.
320320
var targetState = boundaryComponentState.ParentComponentState;

src/Components/Endpoints/src/Rendering/SSRRenderModeBoundary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private ComponentMarkerKey GenerateMarkerKey(int sequence, object? componentKey)
226226
/// This is used for state persistence across render modes.
227227
/// </summary>
228228
/// <returns>The ComponentMarkerKey if available, null otherwise.</returns>
229-
internal ComponentMarkerKey? GetComponentMarkerKey(int sequence, object? componentKey)
229+
internal ComponentMarkerKey GetComponentMarkerKey(int sequence, object? componentKey)
230230
{
231231
return _markerKey ??= GenerateMarkerKey(sequence, componentKey);
232232
}

0 commit comments

Comments
 (0)