Files
Cato ed4288cecd fix(auth): adopt shared account forms and recovery (#51)
* fix(auth): adopt shared account forms and recovery

* fix(auth): use released all-method second-factor protection
2026-10-26 05:34:47 +01:00

23 lines
549 B
TypeScript

"use client";
import type { ComponentProps } from "react";
import { AccountPanel as SharedAccountPanel } from "@bitbaum/accountkit/auth/react";
import { authClient } from "@/lib/auth-client";
import { AUTH_CLASSES, useAuthLabels } from "./shared";
type Props = Omit<
ComponentProps<typeof SharedAccountPanel>,
"client" | "labels" | "classes"
>;
export function AccountPanel(props: Props) {
return (
<SharedAccountPanel
{...props}
client={authClient}
classes={AUTH_CLASSES}
labels={useAuthLabels()}
/>
);
}