Skip to content

Commit

Permalink
Merge pull request #724 from cabinetoffice/feature/cleanup-render-hea…
Browse files Browse the repository at this point in the history
…ding-warning

Remove unused RenderHeading method
  • Loading branch information
andymantell authored Oct 7, 2024
2 parents b6f1d3d + 21fe754 commit b4f36f3
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
var uploadFileHasError = ((TagBuilder)Html.ValidationMessageFor(m => m.UploadedFile)).HasInnerHtml;
var selectOptionHasError = ((TagBuilder)Html.ValidationMessageFor(m => m.HasValue)).HasInnerHtml;

void RenderHeading()
{
if (!string.IsNullOrWhiteSpace(Model.Heading))
{
<h1 class="govuk-heading-l">@Model.Heading</h1>
}
}

void RenderDescription()
{
if (!string.IsNullOrWhiteSpace(Model.Description))
Expand Down

0 comments on commit b4f36f3

Please sign in to comment.