We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff4af36 commit 8077fffCopy full SHA for 8077fff
packages/solid-router/src/link.tsx
@@ -540,12 +540,6 @@ export const Link: LinkComponent<'a'> = (props: any) => {
540
})
541
: rest.children
542
543
- if (typeof local._asChild === 'undefined') {
544
- // the Retlocal.urnType of useLinkProps returns the correct type for a <a> element, not a general component that has a disabled prop
545
- // @ts-expect-error
546
- delete linkProps.disabled
547
- }
548
-
549
return (
550
<Dynamic component={local._asChild ? local._asChild : 'a'} {...linkProps}>
551
{children}
0 commit comments