E0114 Assignment to a prop
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
A prop follows the value the placing page passes, and changes when that value changes, so anything assigned to it would be lost.
How to fix it
Copy it into state, such as let local = state(name), or let the page that passes it change it.
In a terminal
duolith explain E0114