Problem
Currently the Timerangeselector uses BrowserAPI to update the browser URL. but the FilterPresidentCard component uses React Router to update the URL.
Solution
Use React Router for the URL updates in each component where it uses native BrowserAPI
Problem
Currently the
Timerangeselectoruses BrowserAPI to update the browser URL. but theFilterPresidentCardcomponent usesReact Routerto update theURL.Solution
Use
React Routerfor the URL updates in each component where it uses native BrowserAPI