remove unnecessary constants
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
@ -55,7 +55,7 @@
|
||||
{
|
||||
if (PageState != null)
|
||||
{
|
||||
builder.OpenComponent(0, Type.GetType(Constants.PageComponent));
|
||||
builder.OpenComponent(0, typeof(ThemeBuilder));
|
||||
builder.CloseComponent();
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user