Fixed: Queue header

This commit is contained in:
Mark McDowall 2024-08-26 21:40:43 -07:00 committed by GitHub
parent 882b54be61
commit cfa2f4d4c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -78,7 +78,11 @@ export default function Link<C extends ElementType = 'button'>({
return (
<Component
type={type || 'button'}
type={
component === 'button' || component === 'input'
? type || 'button'
: type
}
target={target}
className={linkClass}
disabled={isDisabled}