Skip to content

Commit

Permalink
Removed redundant OnPreRender from Literal
Browse files Browse the repository at this point in the history
  • Loading branch information
exyi committed Apr 9, 2019
1 parent f1ed65a commit 4e7fe57
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/DotVVM.Framework/Controls/Literal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,6 @@ bool isFormattedType(Type type) =>
#pragma warning restore
NeedsFormatting(GetValueBinding(TextProperty));

protected internal override void OnPreRender(Hosting.IDotvvmRequestContext context)
{
base.OnPreRender(context);

if (IsFormattingRequired)
{
}
}

protected struct RenderState
{
public object Text;
Expand Down

0 comments on commit 4e7fe57

Please sign in to comment.