Skip to content

Commit

Permalink
set default as* property for ReactiveSection
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidVollmers committed Sep 24, 2023
1 parent 573ce82 commit 68ee70c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/Ignis.Components.Reactivity/ReactiveSection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ public sealed class ReactiveSection<T> : IgnisComponentBase, IDynamicParentCompo

public IEnumerable<KeyValuePair<string, object?>>? Attributes => AdditionalAttributes;

public ReactiveSection()
{
AsComponent = typeof(Fragment);
}

protected override void OnUpdate()
{
Value.Adopt(this);
Expand Down

0 comments on commit 68ee70c

Please sign in to comment.