Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

282 B
Raw Blame
import { useEffect } from 'react'
import { useRouter } from 'next/router'

const OptOutIndex = () => {
  const router = useRouter()

  // We don't want anyone landing here directly
  useEffect(() => {
    router.push('/')
  }, [router])

  return null
}

export default OptOutIndex