mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 17:07:42 +01:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
8 lines
282 B
TypeScript
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()) };
|
|
}
|