In Simple react class component we used to change the props to state this way:
constructor(props) { super(props) this.state = { pitch: props.book
You can pass your initial state as first argument to useState like this:
useState
const GenerateDescHook = ({ description: initialDesc }) => { const [description, setDescription] = useState(initialDesc) ...