Duolith docs

Warnings while reading a page

W0041 Unused prop

Message the prop name is never used

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

The component accepts this prop but never shows or reads it, so whatever a page passes is lost.

How to fix it

Use it in the component, or remove it from props() and from every page that passes it.

In a terminal

duolith explain W0041

Mentioned in