title: How to controling browser back button with react router dom v6?
body: <p>I've been looking for this question and found it but they're using class components and react router dom v5</p>
  <p>What i want is
  When user click browser back button I'll redirect them to home page</p>