<Link></Link> VS history
history가 사용하기 더 편할 것 같습니다
import { useHistory } from 'react-router-dom';
const history = useHistory();
클릭 이벤트 걸어서 사용하시면 됩니다
const handleClickSignUpButton = () => {
history.push('/signup');
};
onClick={() => {
history.goBack();
}}>
history.goBack()
(뒤로가기 아이콘은 base컴포넌트에 만들어놓은 BackButton컴포넌트로 대체해도 될 것 같습니다)