Had to map over api data to display.
Had to map over api data to display.

We only want the one potato we're interested in, but we start with an array from the api call. In the Details component, we map over it so that when it's empty, our component doesn't complain.

kurtlippert/react-poc-custom,kurtlippert/react-poc-custom