I cant figure out why my setStock function is not updating the state and not causing a re-render, while I have several other functions working just fine.
setStock