Something went wrong. Try again.
ATProto-based AI Assistant Chat interface.
Something went wrong. Try again.
12345678910111213import { api, read } from '../api.ts'import { useStore } from '../store/react.tsx'
/** Sign out, delete this device's copy of the chats, and go to the login page. */export function useSignOut() { const store = useStore() return async () => { await read(api.auth.logout.$post()) await store.deleteLocalCopy() location.assign('/login') }}