mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
11 lines
281 B
TypeScript
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
|
|
}
|