message: window.location.search --> location.search(react-router)
diff: @@ -45,8 +45,7 @@ const _DateTimeSelector = (props: DateTimeSelectorProps) => {
  const timeDurationInLocalStorage = localStorage.getItem(
  LOCAL_STORAGE.METRICS_TIME_IN_DURATION,
  );
  -
  - const urlParams = new URLSearchParams(window.location.search);
  + const urlParams = new URLSearchParams(location.search);
  const intervalInQueryParam = urlParams.get(METRICS_PAGE_QUERY_PARAM.interval);
  const startTimeString = urlParams.get(METRICS_PAGE_QUERY_PARAM.startTime);
  const endTimeString = urlParams.get(METRICS_PAGE_QUERY_PARAM.endTime);
  