Files
discord-decomp/modules/links/getLocalizedLink.tsx
T
2026-11-01 12:12:55 +02:00

7 lines
219 B
TypeScript

// Metro module 3801 (f3802).
import { intl } from "../../intl/index.native";
export default function getLocalizedLink(a0) {
const r10 = intl.currentLocale.toLowerCase();
return r10 in a0 ? a0[r10] : a0.default;
};