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 27534e7 commit 0a45e44Copy full SHA for 0a45e44
packages/doom/src/theme/Link.tsx
@@ -13,7 +13,11 @@ export const Link = (props: LinkProps) => {
13
return (
14
<OriginalLink
15
{...props}
16
- download={props.href?.endsWith('.pdf') && props.download !== false}
+ download={
17
+ props.href?.endsWith('.pdf') &&
18
+ // type-coverage:ignore-next-line -- out of control
19
+ props.download !== false
20
+ }
21
/>
22
)
23
}
0 commit comments