Files

11 lines
281 B
TypeScript

'use client'
import { useEffect } from 'react'
import { KEYS } from '@/components/settings/nav'
/** Sends the reader to the platform's keys page, replacing this address in history. */
export function Leave() {
useEffect(() => window.location.replace(KEYS), [])
return null
}