Files
discord-decomp/sources/modules/premium/gifting/hooks/useGiftingPromotionDefaultSelection.tsx
2026-07-28 01:06:53 +03:00

19 lines
1.1 KiB
TypeScript

/* Metro module 10459; source: modules/premium/gifting/hooks/useGiftingPromotionDefaultSelection.tsx; dependencies: [2] */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun80956(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#80956, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10645:6, offset: 0x01e9168c, size: 87 bytes, params: 8, frame: 15
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/premium/gifting/hooks/useGiftingPromotionDefaultSelection.tsx');
exports.useGiftingPromotionDefaultSelectionV2 = function(a0, a1) {
var value = a1;
if (a0 != null) {
if (a0.length !== 0) {
return value == null ? a0[0] : a0.includes(value) ? value : a0[0];
}
}
};
}
global.__d(_fun80956, 10459, [2]) /* metro module 10459, dependencies: [2] */;