fix linting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
carla 2026-01-08 11:41:24 +01:00
parent b0623b20ed
commit 6311eebb0c
2 changed files with 43 additions and 1 deletions

View file

@ -692,10 +692,11 @@ defmodule MvWeb.CoreComponents do
"""
attr :name, :string, required: true
attr :class, :string, default: "size-4"
attr :rest, :global, include: ~w(aria-hidden)
def icon(%{name: "hero-" <> _} = assigns) do
~H"""
<span class={[@name, @class]} />
<span class={[@name, @class]} {@rest} />
"""
end