import config from "../../config.ts"; import { Layout } from "../layout.tsx"; interface RegisterProps { error?: string; question?: string; pending?: boolean; } export function Register({ error, question, pending }: RegisterProps) { if (pending) { return (

Create account

Your account has been submitted for review. You will be able to log in once an admin approves it.

); } return (

Create account

{!!error && (

{error}

)}
{!!question && (
)}
); }