import { useEffect } from 'react'
import { useAuth } from 'auth/AuthProvider'
export default function LogoutPage() {
  const { signOut } = useAuth()
  useEffect(() => { void signOut() }, [signOut])
  return <p>Signing out…</p>
}