keepHashFromUrl(url2) {
    if (!url2) return "";
    return "#" + url2.replace(/^.*#(.*)/, "$1").replace(/\?.*$/, "");
  }
Only keep the URL Hash & ignoring query params
@param {string} url URL to extract the hash from
@returns {string} Just the route id