Just trying to understand the useEffect hook. I simply want a button when clicked to have a function identify the ID, then have useEffect render a conditional statement.