Skip to content

Commit 16731b9

Browse files
authored
refactor(IdComponentBase): update Id generator (#6126)
1 parent 5fdaee0 commit 16731b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BootstrapBlazor/Components/BaseComponents/IdComponentBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ public abstract class IdComponentBase : BootstrapComponentBase
3232
/// <summary>
3333
/// <inheritdoc/>
3434
/// </summary>
35-
protected override void OnParametersSet()
35+
protected override void OnInitialized()
3636
{
37-
base.OnParametersSet();
37+
base.OnInitialized();
3838

3939
Id ??= ComponentIdGenerator.Generate(this);
4040
}

0 commit comments

Comments
 (0)