import { useHistory } from "react-router-dom"; const BtnGroup = () => { const history = useHistory(); return (