import type { ReactNode } from 'react'; import { API_MODE } from '@/api'; import { t } from '@/i18n'; export function AuthLayout({ title, children }: { title: string; children: ReactNode }) { return (
{t('header.title')}
{API_MODE === 'mock' ? ( {t('header.mockMode')} ) : null}
{title}
{children}
); }