remove unnecessary constants

This commit is contained in:
sbwalker
2024-02-01 10:45:52 -05:00
parent 7640dab380
commit 7c04792777
3 changed files with 2 additions and 6 deletions

View File

@ -123,7 +123,7 @@ else
private void CreateComponent(RenderTreeBuilder builder, Module module, int key)
{
builder.OpenComponent(0, Type.GetType(Constants.ContainerComponent));
builder.OpenComponent(0, typeof(ContainerBuilder));
builder.AddAttribute(1, "ModuleState", module);
if (key != -1)
{

View File

@ -55,7 +55,7 @@
{
if (PageState != null)
{
builder.OpenComponent(0, Type.GetType(Constants.PageComponent));
builder.OpenComponent(0, typeof(ThemeBuilder));
builder.CloseComponent();
}
};