Given a custom hook that looks like this down below...
const getSavedInfo (id) => { const endpoint = getEndpoint(id) const {updateInfo} = React.useCont