diff --git a/app/components/Link.tsx b/app/components/Link.tsx index 82b36f5..359290a 100755 --- a/app/components/Link.tsx +++ b/app/components/Link.tsx @@ -18,7 +18,9 @@ export function Link(props: LinkProps) { const downloadExtensions = [".pdf", ".zip"]; - const isDownload = downloadExtensions.some(props.href.endsWith); + const isDownload = downloadExtensions.some((extension) => + props.href.endsWith(extension), + ); return (