mirror of
https://github.com/rio-labs/rio.git
synced 2026-01-06 05:09:43 -06:00
more link fixes; renamed replaceFirstChild
This commit is contained in:
@@ -19,7 +19,7 @@ export class ScrollTargetComponent extends SingleContainer {
|
||||
deltaState: ScrollTargetState,
|
||||
latentComponents: Set<ComponentBase>
|
||||
): void {
|
||||
this.replaceFirstChild(latentComponents, deltaState.content);
|
||||
this.replaceOnlyChild(latentComponents, deltaState.content);
|
||||
|
||||
if (deltaState.id !== undefined) {
|
||||
this.element.id = deltaState.id;
|
||||
|
||||
Reference in New Issue
Block a user