Skip to content

Commit

Permalink
Code cleanup and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gvreddy04 committed Apr 28, 2024
1 parent a214fd5 commit 8414fc2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions blazorbootstrap/Components/Accordion/AccordionItem.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ private async Task OnCollapseShownAsync()
[CascadingParameter]
internal Accordion Parent { get; set; } = default!;

protected string? StyleNames => new CssStyleBuilder(Style).Build();

/// <summary>
/// Gets or sets the <see cref="AccordionItem" /> title.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion blazorbootstrap/Utilities/CssClassBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public readonly struct CssClassBuilder

public CssClassBuilder(string? cssClass)
{
classList = new();
classList = new HashSet<string>();
@class = cssClass;
}

Expand Down
2 changes: 1 addition & 1 deletion blazorbootstrap/Utilities/CssStyleBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public readonly struct CssStyleBuilder

public CssStyleBuilder(string? cssStyle)
{
styleList = new();
styleList = new HashSet<string>();
style = cssStyle;
}

Expand Down

0 comments on commit 8414fc2

Please sign in to comment.