Files
loki/scripts/site-template/components/auth/shared.tsx
Catoandgithub-actions[bot] d7a882fbec chore(starter): sync scripts/site-template to bitbaum/fleet@5dc0be8081 (#1467)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-29 12:15:40 +01:00

8 lines
282 B
TypeScript

"use client";
import { useLocale } from "next-intl";
import { authLabelsFor } from "@bitbaum/accountkit/auth";
/** Product locale adapter; controls and their states/styles belong to accountkit. */
export function useSharedAuth() {
return { labels: authLabelsFor(useLocale()) };
}