fix: missing type declaration for buttons causing new warnings
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon 2026-07-06 17:27:01 +02:00
parent ba39632c38
commit ce49d751ea
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
2 changed files with 20 additions and 20 deletions

View file

@ -135,7 +135,7 @@ defmodule MvWeb.CoreComponents do
<.button variant="ghost" size="sm">Edit</.button>
<.button disabled={true}>Disabled</.button>
"""
attr :rest, :global, include: ~w(href navigate patch method data-testid form)
attr :rest, :global, include: ~w(href navigate patch method data-testid form type)
attr :variant, :string,
values: ~w(primary secondary neutral ghost outline danger link icon),