I have a button which onClick will go back to a URL as below:
const testing = (props) => { let history = useHistory(); const handleOnClick =