Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem committed Jan 9, 2024
1 parent 5ce1056 commit 3034502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,7 @@ public CssBuilder Modifiers(Func<IBlockOrElement, IBem> bemBuilder)
protected override List<string?> GetClassNames()
{
var classNames = base.GetClassNames();

if (_builder != null)
{
// TODO: insert or add?
// classNames.Insert(0, _builder.Invoke(_blockOrElement).Build());
var className = _builder.Invoke(_blockOrElement).Build();
classNames.Add(className);
}

classNames.Add(_builder == null ? _blockOrElement.Name : _builder.Invoke(_blockOrElement).Build());
return classNames;
}
}
2 changes: 1 addition & 1 deletion src/Component/BlazorComponent/BlazorComponent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BemIt" Version="1.1.1" />
<PackageReference Include="BemIt" Version="1.1.2" />
<PackageReference Include="DeepCloner" Version="0.10.4" />
<PackageReference Include="FluentValidation" Version="11.4.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.4.0" />
Expand Down

0 comments on commit 3034502

Please sign in to comment.