vercel-dns-console icon indicating copy to clipboard operation
vercel-dns-console copied to clipboard

build err at ./src/components/anti-adblock/index.tsx:51:16

Open orangejx opened this issue 9 months ago • 1 comments

Dear Manager,

Build Env: Node: v18.20.2 NPM: 10.5.0

I encountered some errors when I was building it; here are the details of the error log:

> [email protected] build
> next build

   Linting and checking validity of types  ...Failed to compile.

./src/components/anti-adblock/index.tsx:51:16
Type error: Type '{ children: string; href: string; target: "_blank"; rel: string; icon: true; color: true; }' is missing the following properties from type 'Pick<Props & NativeAttrs & RefAttributes<HTMLAnchorElement> & ScaleProps, "defaultChecked" | "defaultValue" | ... 260 more ... | "referrerPolicy">': placeholder, onPointerEnterCapture, onPointerLeaveCapture

  49 |               Report the issue to the filtering rules maintainer
  50 |               {' '}
> 51 |               <Link
     |                ^
  52 |                 href="https://github.com/uBlockOrigin/uAssets/issues"
  53 |                 target="_blank"
  54 |                 rel="noopener noreferrer nofollow external"

orangejx avatar Apr 29 '24 19:04 orangejx