From 8142d53640282960b78daa497899946db13a4eb5 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Thu, 11 Jan 2024 09:30:20 +0000 Subject: [PATCH] Remove unused component - no reference to it in the application - no YML file, no test file - already have a far more detailed heading component in the gem --- app/views/components/_heading.html.erb | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 app/views/components/_heading.html.erb diff --git a/app/views/components/_heading.html.erb b/app/views/components/_heading.html.erb deleted file mode 100644 index 20b065995..000000000 --- a/app/views/components/_heading.html.erb +++ /dev/null @@ -1,12 +0,0 @@ -<% - type ||= nil - big ||= false - extra ||= false - url ||= nil -%> -
<%= "-with-extra" if extra %>"> -
- <% if type %>

<%= type %>

<% end %> -

<%= link_to_if url, heading, url, class: "govuk-link" %>

-
-