import { Button } from "@ariakit/react"; import { Link } from "wouter"; import { useAppConfig } from "../AppConfig/AppConfig.tsx"; import { interactiveText } from "../common.css.ts"; import { Letterhead, LetterheadHeading, LetterheadParagraph, } from "../Letterhead/index.tsx"; import { useAppActions } from "../store/index.tsx"; import type { CurrentUser } from "../types.ts"; export function AlreadyLoggedInView(props: { currentUser: CurrentUser; reload: () => void; }) { const { currentUser, reload } = props; const { hrefs } = useAppConfig(); const { logout } = useAppActions(); return ( Logged in You are already logged into Indie Tabletop Club as{" "} {currentUser.email}. Continue {` as the current user, or `} . ); }