Skip to content

The only tool you need to know what is happening and how to fix it.

364 B
Raw Blame
---
title: Traceway Docs
---

import Head from 'next/head'
import { useEffect } from 'react'
import { useRouter } from 'next/router'

export function Redirect() {
  const router = useRouter()
  useEffect(() => {
    router.replace('/client')
  }, [])
  return (
    <Head>
      <meta httpEquiv="refresh" content="0;url=/client" />
    </Head>
  )
}

<Redirect />