In the following component, the handleDropdownChange function does not set the state for "data" on the first change, it only sets it after the second change. For e