I am attempting to parse the dropdown item that is selected into a Prop. I get an error of
TypeError: Cannot read property \'name\' of undefined