Something went wrong. Try again.
Testing building apps with atproto
Something went wrong. Try again.
1234567891011import { html } from "../lib/core"
export const LogoutButton = () => { const logoutHandler = async () => { await fetch("/api/oauth/logout", { method: "POST" }) window.location.reload() } return html` <button ${{ onclick: logoutHandler }}>Logout</button> `}