Files
Investidor-V2/resources/js/components/institutional-source/source-text.tsx
2026-10-20 11:39:25 +02:00

8 lines
270 B
TypeScript

import { useTempoUi } from '@/components/tempo-brand';
// Bridge the original Trans calls to this platform's existing language context.
export function Trans({ children }: { children: string }) {
const { t } = useTempoUi();
return <span>{t(children)}</span>;
}