Code QuizIntermediate

Passing State Down via Props

A prop is destructured with the wrong name.

Codejavascript
function Parent() {
  const [count, setCount] = useState(0);
  return <Child count={count} />;
}

function Child({ value }) {
  return <Text>{value}</Text>;
}

What is the bug in this code?