diff --git a/src/BlazorUI/Bit.BlazorUI.Extras/Components/ProLayout/BitCascadingValueProvider.cs b/src/BlazorUI/Bit.BlazorUI.Extras/Components/ProLayout/BitCascadingValueProvider.cs index c6fd45a44c..4dc929cf99 100644 --- a/src/BlazorUI/Bit.BlazorUI.Extras/Components/ProLayout/BitCascadingValueProvider.cs +++ b/src/BlazorUI/Bit.BlazorUI.Extras/Components/ProLayout/BitCascadingValueProvider.cs @@ -40,7 +40,7 @@ protected override void BuildRenderTree(RenderTreeBuilder builder) rf = b => { CreateCascadingValue(b, s, v.Name, v.Value, v.IsFixed, r); }; - seq += v.Name.HasValue() ? 4 : 3; + seq += v.Name.HasValue() ? 5 : 4; } builder.AddContent(seq, rf); @@ -50,7 +50,7 @@ protected override void BuildRenderTree(RenderTreeBuilder builder) private void CreateCascadingValue(RenderTreeBuilder builder, int seq, string? name, - object? value, + object value, bool isFixed, RenderFragment? childContent) {