Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Sep 8, 2023
1 parent 07277eb commit da40d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/icon_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def heroicon(icon_name, size: :md, variant: :outline, **options)
inline_svg_tag "icons/heroicons/#{variant}/#{icon_name.to_s.tr("_", "-")}.svg", class: classes
end

def icon(icon_name, size: :md, **options)
def icon(icon_name, size: :md, **)
classes = SIZE_CLASSES[size]
inline_svg_tag "icons/icn-#{icon_name}.svg", class: classes, **options
inline_svg_tag("icons/icn-#{icon_name}.svg", class: classes, **)
end
end

0 comments on commit da40d95

Please sign in to comment.