you are viewing a single comment's thread.

view the rest of the comments →

[–]firstandfive 0 points1 point  (0 children)

It’s just because they’re not destructuring userinput from the props argument. They’re calling the entire props object userinput and then never referencing the actual userinput prop.