Skip to content

Your always-on AI coworkers that move between text, calls, and Slack.

TypeScript
228 B
Raw Blame
export function openPageLink(href: string) {
  const hash = href.startsWith('/#') ? href.slice(1) : href;
  if (location.hash === hash)
    window.dispatchEvent(new HashChangeEvent('hashchange'));
  else location.hash = hash;
}