16 lines
502 B
TypeScript
16 lines
502 B
TypeScript
// Module ID: 4104
|
|
// Function ID: 4105
|
|
// Name: getLocalizedLink
|
|
// Dependencies: [1233, 2]
|
|
// Exports: default
|
|
|
|
// Module 4104 (getLocalizedLink)
|
|
import set from "set" /* 2 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1233 */;
|
|
|
|
const result = set.fileFinishedImporting("modules/links/getLocalizedLink.tsx");
|
|
|
|
export default function getLocalizedLink(arg0) {
|
|
const formatted = getSystemLocale.intl.currentLocale.toLowerCase();
|
|
return formatted in arg0 ? arg0[formatted] : arg0.default;
|
|
};
|